Python Check If Function Is Async