def check_if_empty_list(response) ->bool:
    """This method is used to check if the result in a dict is an empty list

    :param response: Response get from the centreon server
    :type response: dict

    :return: Returns True, if response["result"] is an empty list
    :rtype: bool
    """
    if response:
        if 'result' in response:
            if isinstance(response['result'], list):
                if len(response['result']) == 0:
                    return True
    return False
