Python Run Async Function Python Syntax If Else Statement