<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_valid_interval(interval):
 """Checks if the given interval is valid. A valid interval is always a positive, non-zero integer value. """

    if not isinstance(interval, (int, long)):
        return False

    if interval <= 0:
        return False

    return True