code: def check_role_property(role, func_name, check_items):
      exp_func_name = "create_role"
      if func_name != exp_func_name:
          log.warning(
              "The function name is {} rather than {}".format(
                  func_name, exp_func_name
              )
          )
      if not isinstance(role, Role):
          raise Exception("The result to check isn't role type object")
      if check_items is None:
          raise Exception("No expect values found in the check task")
      if check_items.get("name", None):
          assert role.name == check_items["name"]
      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 19 for calling the ResponseChecker obj's underlying member method code with example usage: obj.check_role_property(role, func_name, check_items) and returns: True