def is_coroutine_function(func):
 return getattr(func, '__tornado_coroutine__', False)

def is_coroutine_function ( func ) : return getattr ( func , '__tornado_coroutine__' , False )
return whether *func* is a coroutine function .