def object_exist(self, object_type, name, avi_config):
    '\n        This method returns true if object exists in avi config dict else false\n        :param object_type:\n        :param name:\n        :param avi_config:\n        :return:\n        '
    data = avi_config[object_type]
    obj_list = [obj for obj in data if (obj['name'] == name)]
    if obj_list:
        return True
    return False
This method returns true if object exists in avi config dict else false
:param object_type:
:param name:
:param avi_config:
:return:
def object_exist(self, object_type, name, avi_config):
    '\n        This method returns true if object exists in avi config dict else false\n        :param object_type:\n        :param name:\n        :param avi_config:\n        :return:\n        '
    data = avi_config[object_type]
    obj_list = [obj for obj in data if (obj['name'] == name)]
    if obj_list:
        return True
    return False