code: def __subclasshook__(cls, subcls):
      return hasattr(subcls, "__slots__")
  
file_path: datashader/datashader/datashape/util/testing.py
imports: from abc import ABC
  from ..coretypes import DataShape, DateTime, Function, Option, Record, String, Time, TimeDelta, Tuple, Units
  from ..dispatch import dispatch
label_desc: Use image node_id 1 for calling the Slotted obj's underlying member method code with example usage: obj.__subclasshook__(cls, subcls) and returns: hasattr