def is_int(value):
    """
    Tests to see whether a value can be cast to an int
    Args:
        value: The value to be tested
    Returns:
        True if it can be cast, False if it can't
    """
    try:
        int(value)
        return True
    except ValueError:
        return False