code: def _subclasscheck_frozenset(cls, subcls):
      """A basic ``__subclasscheck__`` method for :class:`~typing.FrozenSet`."""
  
      if not issubclass(get_origin(subcls), frozenset):
          return False
  
      cls_args, subcls_args = get_args(cls), get_args(subcls)
  
      if not cls_args:
          return True
  
      if not subcls_args:
          return cls_args[0] is typing.Any
  
      return len(subcls_args) == len(cls_args) == 1 and all(
          deep_issubclass(a, b) for a, b in zip(subcls_args, cls_args)
      )
  
imports: import functools
  import sys
  import typing
  import weakref
  import typing_extensions
  from multipledispatch.variadic import Variadic
  from multipledispatch.variadic import isvariadic
label_desc: Use image node_id 7 for calling a global function with example usage: _subclasscheck_frozenset(cls, subcls) and returns: unknown, False, True, unknown