docstr: According to the check_items to check actual query result, which return from func_name.
  
  :param: query_res: A list that contains all results
  :type: list
  
  :param func_name: Query API name
  :type func_name: str
  
  :param check_items: The items expected to be checked, including exp_res, with_vec
                      The type of exp_res value is as same as query_res
                      The type of with_vec value is bool, True value means check vector field, False otherwise
  :type check_items: dict
docstr_tok: ["According","to","the","check_items","to","check","actual","query","result",",","which","return","from","func_name",".",":","param",":","query_res",":","A","list","that","contains","all","results",":","type",":","list",":","param","func_name",":","Query","API","name",":","type","func_name",":","str",":","param","check_items",":","The","items","expected","to","be","checked",",","including","exp_res",",","with_vec","The","type","of","exp_res","value","is","as","same","as","query_res","The","type","of","with_vec","value","is","bool",",","True","value","means","check","vector","field",",","False","otherwise",":","type","check_items",":","dict"]
code: def check_query_results(query_res, func_name, check_items):
      """
      According to the check_items to check actual query result, which return from func_name.
  
      :param: query_res: A list that contains all results
      :type: list
  
      :param func_name: Query API name
      :type func_name: str
  
      :param check_items: The items expected to be checked, including exp_res, with_vec
                          The type of exp_res value is as same as query_res
                          The type of with_vec value is bool, True value means check vector field, False otherwise
      :type check_items: dict
      """
      if func_name != "query":
          log.warning(
              "The function name is {} rather than {}".format(
                  func_name, "query"
              )
          )
      if not isinstance(query_res, list):
          raise Exception(
              "The query result to check isn't list type object"
          )
      if len(check_items) == 0:
          raise Exception("No expect values found in the check task")
      exp_res = check_items.get("exp_res", None)
      with_vec = check_items.get("with_vec", False)
      primary_field = check_items.get("primary_field", None)
      if exp_res is not None:
          if isinstance(query_res, list):
              assert pc.equal_entities_list(
                  exp=exp_res,
                  actual=query_res,
                  primary_field=primary_field,
                  with_vec=with_vec,
              )
              return True
          else:
              log.error(f"Query result {query_res} is not list")
              return False
      log.warning(f"Expected query result is {exp_res}")
  
imports: from pymilvus.client.types import CompactionPlans
  from pymilvus import Role
  from utils.util_log import test_log
  from common import common_type
  from common import common_func
  from common.common_type import CheckTasks, Connect_Object_Name
  from pymilvus import Collection, Partition, ResourceGroupInfo
  from utils.api_request import Error
  import check.param_check
label_desc: Use image node_id 12 for calling the ResponseChecker obj's underlying member method code with example usage: obj.check_query_results(query_res, func_name, check_items) and returns: True, False