docstr: Verify that the delete type compaction plan
  
  :param: compaction_plans: A compaction plan
  :type: CompactionPlans
  
  :param func_name: get_compaction_plans API name
  :type func_name: str
  
  :param check_items: which items you wish to check
                      plans_num represent the delete compact plans number
  :type: dict
docstr_tok: ["Verify","that","the","delete","type","compaction","plan",":","param",":","compaction_plans",":","A","compaction","plan",":","type",":","CompactionPlans",":","param","func_name",":","get_compaction_plans","API","name",":","type","func_name",":","str",":","param","check_items",":","which","items","you","wish","to","check","plans_num","represent","the","delete","compact","plans","number",":","type",":","dict"]
code: def check_delete_compact_plan(
      compaction_plans, func_name, check_items
  ):
      """
      Verify that the delete type compaction plan
  
      :param: compaction_plans: A compaction plan
      :type: CompactionPlans
  
      :param func_name: get_compaction_plans API name
      :type func_name: str
  
      :param check_items: which items you wish to check
                          plans_num represent the delete compact plans number
      :type: dict
      """
      to_check_func = "get_compaction_plans"
      if func_name != to_check_func:
          log.warning(
              "The function name is {} rather than {}".format(
                  func_name, to_check_func
              )
          )
      if not isinstance(compaction_plans, CompactionPlans):
          raise Exception(
              "The compaction_plans result to check isn't CompactionPlans type object"
          )
  
      plans_num = check_items.get("plans_num", 1)
      assert len(compaction_plans.plans) == plans_num
      for plan in compaction_plans.plans:
          assert len(plan.sources) == 1
          assert plan.sources[0] != plan.target
  
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 17 for calling the ResponseChecker obj's underlying member method code with example usage: obj.check_delete_compact_plan(compaction_plans, func_name, check_items) without return types