class_docstr: Wraps around a `Registry`. Disable/enable all the key bindings according to
  the given (additional) filter.::
  
      @Condition
      def setting_is_true(cli):
          return True  # or False
  
      registy = ConditionalRegistry(registry, setting_is_true)
  
  When new key bindings are added to this object. They are also
  enable/disabled according to the given `filter`.
  
  :param registries: List of `Registry` objects.
  :param filter: `CLIFilter` object.
code: def __init__(self, registry=None, filter=True):
      registry = registry or Registry()
      assert isinstance(registry, BaseRegistry)
  
      _AddRemoveMixin.__init__(self)
  
      self.registry = registry
      self.filter = to_cli_filter(filter)
  
imports: from __future__ import unicode_literals
  from abc import ABCMeta, abstractmethod
  from prompt_toolkit.cache import SimpleCache
  from prompt_toolkit.filters import CLIFilter, to_cli_filter, Never
  from prompt_toolkit.keys import Key, Keys
  from six import text_type, with_metaclass
label_desc: Use image node_id 1 to create a new ConditionalRegistry object from inherited base classes: _AddRemoveMixin with example: obj = ConditionalRegistry(registry, filter)