def isopt(c):
        """Function that checks wheter the passed character is an operator."""
        if c == "+" or c == "-" or c == "*" or c == "/":
                return True
        else:
                return False