def is_int(s):
    """
    check if s is of type int
    :param s: value to check
    :return: return true if s is int
    """
    try:
        int(s)
        return True
    except ValueError:
        return False