def should_be_visible(self, settings):
        """ Evaluates whether the plugin should be visible, taking all display
        conditions into account """
        for key, val in iteritems(self.display_conditions):
            if settings[key].value != val:
                return False
        return True
 Evaluates whether the plugin should be visible, taking all display
        conditions into account 
metadrive/render_pipeline/rpcore/pluginbase/setting_types.py