python check if function is coroutine code example
Example: check if coroutine python
import asyncio
asyncio.iscoroutine(obj)
asyncio.iscoroutinefunction(function)
import asyncio
asyncio.iscoroutine(obj)
asyncio.iscoroutinefunction(function)