bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830)

(cherry picked from commit f1a297acb60b88917712450ebd3cfa707e6efd6b)

Co-authored-by: Lisa Roach <lisaroach14@gmail.com>
3 files changed