Checks if the given API is `an async` or not.