<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_iso8601(instance: str):
 """Validates ISO8601 format"""

    if not isinstance(instance, str):
        return True
    return ISO8601.match(instance) is not None