code: def check_permission_deny(res, actual=True):
      assert actual is False
      if isinstance(res, Error):
          assert "permission deny" in res.message
      else:
          log.error(
              "[CheckFunc] Response of API is not an error: %s"
              % str(res)
          )
          assert False
      return True
  
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 20 for calling the ResponseChecker obj's underlying member method code with example usage: obj.check_permission_deny(res, actual) and returns: True