<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_int(value):
 """ Check if value is an int :type value: int, str, bytes, float, Decimal (True, True, True) (False, False, False) Traceback (most recent call last):
 TypeError: """

    ensure_instance(value, (int, str, bytes, float, Decimal))
    if isinstance(value, int):
        return True
    elif isinstance(value, float):
        return False
    elif isinstance(value, Decimal):
        return str(value).isdigit()
    elif isinstance(value, (str, bytes)):
        return value.isdigit()
    raise ValueError()