def del_context(self, key):
        """
        Removes an element from the context dictionary.

        Example
        -------
        >>> class FooView(ContextMixin):
        ...     context = {
        ...         'foo': 'bar',
        ...     }
        ...
        >>> view = FooView()
        >>> view.del_context('foo')
        {}

        Arguments
        ---------
        key : str
            The context key name

        Returns
        -------
        bool
            Success or Failure

        Returns
        -------
        dict
            The new context
        """

        context = self.get_context()

        try:
            context.pop(key, None)
            self._context = context
        except __HOLE__:
            return False

        return context
dataset/ETHPy150Open thisissoon/Flask-Velox/flask_velox/mixins/context.py/ContextMixin.del_context