code: def validate_instance_id(self, instid):
          ''' Validate instance ID '''
          # 1-63 alphanumeric characters, first must be a letter.
          if re.match('[\w-]+$', instid) is not None:
              if len(instid) <= 63 and len(instid) >= 1:
                  if instid[0].isalpha():
                      return True
          return "*** Error: Instance ids must be 1-63 alphanumeric characters, \
              first is a letter.f validate_instance_id(self, instid):
          ''' Validate instance ID '''
          # 1-63 alphanumeric characters, first must be a letter.
          if re.match('[\w-]+$', instid) is not None:
              if len(instid) <= 63 and len(instid) >= 1:
                  if instid[0].isalpha():
                      return True
          return "*** Error: Instance ids must be 1-63 alphanumeric characters, \
              first is a letter."
docs: Validate instance ID