def yields(value):
 return (isinstance(value, Future) or iscoroutine(value))

def yields ( value ) : return ( isinstance ( value , Future ) or iscoroutine ( value ) )
returns true iff the value yields .