docs: def get_dict_definition(self, dict, get_list=False):
          """Get the definition name of the given dict.
  
          Args:
              dict: dict to test.
              get_list: if set to true, return a list of definition that match the body.
                        if False, only return the first.
  
          Returns:
              The definition name or None if the dict does not match any definition.
              If get_list is True, return a list of definition_name.
          """
          list_def_candidate = []
          for definition_name in self.specification['definitions'].keys():
              if self.validate_definition(definition_name, dict):
                  if not get_list:
                      return definition_name
                  list_def_candidate.append(definition_name)
          if get_list:
              return list_def_candidate
          return None