code: def _get_pos_labels(self, output_pos_labels):
      def get_pos_labels(o):
          if isinstance(o, PosLabelSelector):
              return ["pos-label-" + o.name]
          elif isinstance(o, str):
              return [str]
          elif hasattr(o, "pos_labels"):
              return o.pos_labels
          return []
  
      if hasattr(output_pos_labels, "__iter__"):
          pos_labels = []
          for comp in output_pos_labels:
              pos_labels.extend(get_pos_labels(comp))
          return list(set(pos_labels))
      else:
          return get_pos_labels(output_pos_labels)
  
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 3 for calling the PosLabelConnector obj's underlying member method code with example usage: obj._get_pos_labels(output_pos_labels) and returns: list, list, get_pos_labels, list, list, o