def METHOD_NAME(self, pipe_element_name):
    relevant_keys = list()
    for item in self.pipe_order:
        if item != pipe_element_name:
            relevant_keys.append(item)
        elif item == pipe_element_name:
            relevant_keys.append(item)
            break
    relevant_dict = dict()
    if self.state.config is not None and len(self.state.config) > 0:
        for key_name, key_value in self.state.config.items():
            key_name_list = key_name.split("__")
            if len(key_name_list) > 0:
                item_name = key_name_list[0]
            else:
                item_name = key_name
            if item_name in relevant_keys:
                if isinstance(key_value, list):
                    key_value = frozenset(key_value)
                relevant_dict[key_name] = key_value
    return hash(frozenset(relevant_dict.items()))