original_docstring: check is there a repeat config in list
  
          Args:
              list_of_dict: a list of dict
  
          Returns:
              has repeat or not
  
          
docstring: check is there a repeat config in list
docstring_tokens: check is there a repeat config in list
code: def is_rep_config(self, list_of_dict: List[dict]) -> bool:
          """check is there a repeat config in list
  
          Args:
              list_of_dict: a list of dict
  
          Returns:
              has repeat or not
  
          """
          # using json.dumps + sort_keys to guarantee the same dict to the same string represatation
          list_of_str = [json.dumps(dic, sort_keys=True, ensure_ascii=False) for dic in list_of_dict]
          if len(list_of_dict) == len(set(list_of_str)):
              return False
          else:
              return True
code_tokens: def is_rep_config ( self , list_of_dict : List [ dict ] ) -> bool : list_of_str = [ json . dumps ( dic , sort_keys = True , ensure_ascii = False ) for dic in list_of_dict ] if len ( list_of_dict ) == len ( set ( list_of_str ) ) : return False else : return True
short_docstring: check is there a repeat config in list
short_docstring_tokens: check is there a repeat config in list
comment: """check is there a repeat config in list
  
          Args:
              list_of_dict: a list of dict
  
          Returns:
              has repeat or not
  
          """$SEP$# using json.dumps + sort_keys to guarantee the same dict to the same string represatation