def is_parenthesis(char):
    """
        Checks whether a char is a parenthesis 

        Parameters
        ----------
        char : char
        The charactere that is going to be checked

        Returns
        -------
        bool: Whether the character is a parenthesis
    """

    if char in ["(", ")"]:
        return True
    else:
        return False