<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_integer(obj):
 """Is this an integer. :param object obj: :return: """

    if PYTHON3:
        return isinstance(obj, int)
    return isinstance(obj, (int, long))