code: def is_abstract_method(attr):
      """Returns True if the given object has __isabstractmethod__ == True."""
  
      return hasattr(attr, "__isabstractmethod__") and getattr(
          attr, "__isabstractmethod__"
      )
  
imports: import os.path
  import shutil
  import sys
  import tempfile
  from contextlib import contextmanager
  from whoosh.filedb.filestore import FileStorage
  from whoosh.util import now, random_name
label_desc: Use image node_id 1 for calling a global function with example usage: is_abstract_method(attr) and returns: unknown