code: def get_validator(style):
      for k, v in validators.items():
          if style.endswith(k):
              return v
  
file_path: holoviews/holoviews/plotting/bokeh/styles.py
imports: import numpy
  from bokeh.core.properties import Angle, Color, DashPattern, FontSize, MarkerType, Percent, Size
  from ...core.options import abbreviated_exception
  from ...core.util import arraylike_types
  from ...util.transform import dim
  from ..util import COLOR_ALIASES, RGB_HEX_REGEX, rgb2hex
label_desc: Use image node_id 2 for calling a global function with example usage: get_validator(style) and returns: v