code: def is_valid_chunk_type(type):
      """Check if given type is a valid chunk and downcast array type"""
      try:
          return type in _HANDLED_CHUNK_TYPES or issubclass(
              type, tuple(_HANDLED_CHUNK_TYPES)
          )
      except TypeError:
          return False
  
imports: from __future__ import annotations
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: is_valid_chunk_type(type) and returns: unknown, False