src/pybel/parser/utils.py
def is_int(s: Any) -> bool:
    """Determine if an object can be cast to an int.

    :param s: any object
    :return: true if argument can be cast to an int:
    """
    try:
        int(s)
        return True
    except ValueError:
        return False
Determine if an object can be cast to an int.

    :param s: any object
    :return: true if argument can be cast to an int:
    
Determine if an object can be cast to an int.
Determine if an object can be cast to an int .
def is_int(s: Any) -> bool:
    try:
        int(s)
        return True
    except ValueError:
        return False
def is_int ( s : Any ) -> bool : try : int ( s ) return True except ValueError : return False
Determine if an object can be cast to an int.
Determine if an object can be cast to an int .
"""Determine if an object can be cast to an int.

    :param s: any object
    :return: true if argument can be cast to an int:
    """
true if argument can be cast to an int.
true if argument can be cast to an int .
s
Any
None