code: def is_dictlist(data):
      '''
      Returns True if data is a list of one-element dicts (as found in many SLS
      schemas), otherwise returns False
      '''
      if isinstance(data, list):
          for element in data:
              if isinstance(element, dict):
                  if len(element) != 1:
                      return False
              else:
                  return False
          return True
      return Falsf is_dictlist(data):
      '''
      Returns True if data is a list of one-element dicts (as found in many SLS
      schemas), otherwise returns False
      '''
      if isinstance(data, list):
          for element in data:
              if isinstance(element, dict):
                  if len(element) != 1:
                      return False
              else:
                  return False
          return True
      return False
docs: Returns True if data is a list of one-element dicts (as found in many SLS
      schemas), otherwise returns False