def compare(code):
    is_async = ((inspect.CO_COROUTINE & code.co_flags) == inspect.CO_COROUTINE)
    return is_async
def compare(code):
    is_async = ((inspect.CO_COROUTINE & code.co_flags) == inspect.CO_COROUTINE)
    return is_async