code: def validate_instance_password(self, password):
          ''' Validate instance passwords '''
          # 1-16 alphanumeric characters - first character must be a letter -
          # cannot be a reserved MySQL word
          if re.match('[\w-]+$', password) is not None:
              if len(password) <= 41 and len(password) >= 8:
                  return True
          return '*** Error: Passwords must be 8-41 alphanumeric charactersf validate_instance_password(self, password):
          ''' Validate instance passwords '''
          # 1-16 alphanumeric characters - first character must be a letter -
          # cannot be a reserved MySQL word
          if re.match('[\w-]+$', password) is not None:
              if len(password) <= 41 and len(password) >= 8:
                  return True
          return '*** Error: Passwords must be 8-41 alphanumeric characters'
docs: Validate instance passwords