code: def is_generic_collection(type_: Type) -> bool:
      if not is_generic(type_):
          return False
      origin = extract_origin_collection(type_)
      try:
          return bool(origin and issubclass(origin, Collection))
      except (TypeError, AttributeError):
          return False
  
file_path: ray/python/ray/_private/thirdparty/dacite/types.py
imports: from dataclasses import InitVar
  from typing import Type, Any, Optional, Union, Collection, TypeVar, Dict, Callable, Mapping, List, Tuple
label_desc: Use image node_id 13 for calling a global function with example usage: is_generic_collection(type_) and returns: False, bool, False