code: def _get_pos_label(self, input_pos_label):
      if isinstance(input_pos_label, PosLabelSelector):
          return "pos-label-" + input_pos_label.name
      elif hasattr(input_pos_label, "selector") and isinstance(
          input_pos_label.selector, PosLabelSelector
      ):
          return "pos-label-" + input_pos_label.selector.name
      elif isinstance(input_pos_label, str):
          return input_pos_label
      else:
          raise ValueError(
              "input_pos_label should either be a str, "
              "PosLabelSelector or an instance with a .selector property"
              " that is a PosLabelSelector!"
          )
  
imports: import numpy
  import dash
  from dash import html, dcc, Input, Output, State
  from dash.exceptions import PreventUpdate
  import dash_bootstrap_components
  from ..dashboard_methods import *
label_desc: Use image node_id 2 for calling the PosLabelConnector obj's underlying member method code with example usage: obj._get_pos_label(input_pos_label) and returns: unknown, unknown, input_pos_label