code: def validate(self, in_dshape):
      if not isinstance(
          in_dshape[str(self.geometry)], self.geom_dtypes
      ):
          raise ValueError(
              "{col} must be an array with one of the following types: {typs}".format(
                  col=self.geometry,
                  typs=", ".join(
                      typ.__name__ for typ in self.geom_dtypes
                  ),
              )
          )
  
imports: from __future__ import annotations
  from packaging.version import Version
  import numpy
  from toolz import memoize
  from datashader.glyphs.glyph import Glyph
  from datashader.utils import isreal, ngjit
  from numba import cuda
label_desc: Use image node_id 5 for calling the _GeometryLike obj's underlying member method code with example usage: obj.validate(in_dshape) without return types