(obj)
return _has_code_flag(obj, CO_COROUTINE)
Return true if the object is a coroutine function.

    Coroutine functions are defined with "async def" syntax.
Return true if the object is a coroutine function.
Return true if the object is a coroutine function .
def iscoroutinefunction(obj):
    """Return true if the object is a coroutine function.

    Coroutine functions are defined with "async def" syntax.
    """
    return _has_code_flag(obj, CO_COROUTINE)
def iscoroutinefunction ( obj ) : return _has_code_flag ( obj , CO_COROUTINE )