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