@staticmethod
def _should_config(dst_node_name, configuration):
    """Syntax sugar for configuration entries that accept list or boolean at the same time.

        :param dst_node_name: destination node to which configuration should be propagated
        :param configuration: configuration that should be checked
        :return: true if node_name satisfies configuration
        """
    if configuration is True:
        return True
    if isinstance(configuration, list):
        return dst_node_name in configuration
    return False
