def _isInt(argstr):
    """ Returns True if and only if the given string represents an integer. """
    try:
        int(argstr, 0)
        return True
    except (ValueError, TypeError):
        return False
