code: def applies(self, container, ctx):
          '''
          Subclasses should not override `applies`, but instead they should override `_applies`, which has the same syntax as `applies`.
          In the `_applies` method the condition is guaranteed to have a reference to the desired field, as `self._field`.
  
          :type container: :class:`~kitty.model.low_level.container.Container`
          :param container: the caller
          :param ctx: rendering context in which applies was called
          :return: True if condition applies, False otherwise
          '''
          self._get_ready(container)
          return self._applies(container, ctxf applies(self, container, ctx):
          '''
          Subclasses should not override `applies`, but instead they should override `_applies`, which has the same syntax as `applies`.
          In the `_applies` method the condition is guaranteed to have a reference to the desired field, as `self._field`.
  
          :type container: :class:`~kitty.model.low_level.container.Container`
          :param container: the caller
          :param ctx: rendering context in which applies was called
          :return: True if condition applies, False otherwise
          '''
          self._get_ready(container)
          return self._applies(container, ctx)
docs: Subclasses should not override `applies`, but instead they should override `_applies`, which has the same syntax as `applies`.
          In the `_applies` method the condition is guaranteed to have a reference to the desired field, as `self._field`.
  
          :type container: :class:`~kitty.model.low_level.container.Container`
          :param container: the caller
          :param ctx: rendering context in which applies was called
          :return: True if condition applies, False otherwise