code: def is_generic_mapping(tp):
      """Returns true if `tp` is a parameterized typing.Mapping value."""
      return tp not in (
          collections.abc.Mapping,
          typing.Mapping,
      ) and getattr(tp, "__origin__", None) in (
          collections.abc.Mapping,
          typing.Mapping,
      )
  
imports: import collections.abc
  import typing
label_desc: Use image node_id 4 for calling a global function with example usage: is_generic_mapping(tp) and returns: unknown