code: def _get_label_uuid(xapi, rectype, label):
      '''
      Internal, returns label's uuid
      '''
      try:
          return getattr(xapi, rectype).get_by_name_label(label)[0]
      except Exception:
          return Falsf _get_label_uuid(xapi, rectype, label):
      '''
      Internal, returns label's uuid
      '''
      try:
          return getattr(xapi, rectype).get_by_name_label(label)[0]
      except Exception:
          return False
docs: Internal, returns label's uuid