code: def data_kva_compare(db_data, user_data):
          
          for kv_data in db_data:
              if kv_data.get('key') == user_data.get('key'):
                  if kv_data.get('value') == user_data.get('value'):
                      return True
          return False
docs: Validate key/value data in KeyValueArray.
  
          Args:
              db_data (list): The data store in Redis.
              user_data (dict): The user provided data.
  
          Returns:
              bool: True if the data passed validation.