Return True if the object is an asynchronous generator function, for example:
inspect.isasyncgenfunction(object)
>>> async def agen(): ... yield 1 ... >>> inspect.isasyncgenfunction(agen) True