class_docstr: Indicate an image for pydeck
  
  Parameters
  ----------
  
  path : str
      Path to image (either remote or local)
class_docstr_tok: ["Indicate","an","image","for","pydeck","Parameters","--","--","--","--","--","path",":","str","Path","to","image","(","either","remote","or","local",")"]
code: def validate(path):
      # Necessary-but-not-sufficient checks for being a valid image for @deck.gl/json
      return any(
          (
              valid_image_regex.search(path),
              valid_url_regex.search(path),
              path.startswith("data/image"),
          )
      )
  
file_path: deck.gl/bindings/pydeck/pydeck/types/image.py
imports: import base64
  import os
  import pathlib
  import re
  from pydeck.types import String
  from pydeck.types.base import PydeckType
label_desc: Use image node_id 4 for calling the Image obj's underlying member method code with example usage: obj.validate(path) and returns: any