code: def want_method(cls, fn):
      if not fn.__name__.startswith("test_"):
          return False
      elif fn.__module__ is None:
          return False
      else:
          return True
  
imports: from __future__ import annotations
  import abc
  from argparse import Namespace
  import configparser
  import logging
  import os
  from pathlib import Path
  import re
  import sys
  from typing import Any
  from sqlalchemy.testing import asyncio
label_desc: Use image node_id 30 for calling a global function with example usage: want_method(cls, fn) and returns: False, False, True