def isint(value):
    """
    Determines if value is an integer

    Parameters
    ----------
    value :
        Value
    """

    try:
        int_val = int(value)

        if int_val == value or str(int_val) == value:
            return True
        else:
            return False
    except ValueError:
        return False