code: def _is_port_name(name):
      ''' Check that name is IANA service: An alphanumeric (a-z, and 0-9) string,
      with a maximum length of 15 characters, with the '-' character allowed
      anywhere except the first or the last character or adjacent to another '-'
      character, it must contain at least a (a-z) character '''
  
      port_name = re.compile()
      if port_name.match(name):
          return True
      else:
          return False
docs: Check that name is IANA service: An alphanumeric (a-z, and 0-9) string,
      with a maximum length of 15 characters, with the '-' character allowed
      anywhere except the first or the last character or adjacent to another '-'
      character, it must contain at least a (a-z) character