code: def _is_attribute(member, module):
      return all(
          [
              hasattr(member, "__module__")
              and module.__name__ in member.__module__,
              not isinstance(member, TypeVar),
              not isinstance(member, types.ModuleType),
          ]
      )
  
file_path: pytorch-lightning/tests/tests_app/test_imports.py
imports: import importlib
  import inspect
  import os
  import types
  from typing import TypeVar
  import lightning.app
label_desc: Use image node_id 1 for calling a global function with example usage: _is_attribute(member, module) and returns: all