pub fn is_async_context() -> bool
Returns whether the current code is being executed in an async context.
If tokio is disabled, this function will always return false.