def isNumber(n):
    """
    checks if n is an integer
    :param n: value to be check
    :return: true if n is a number, false in other case
    """
    try:
        int(n)
        return True
    except ValueError:
        return False