Add/register filters.

        Args:
            filters (dict): Dictionary of Python functions to use as :program:`Jinja2` filters.
            force (bool): If set to ``True``, forces the registration of a filter no matter if it already exists or not.

def register_filters(self, filters, force=False):
        """
        Add/register filters.

        Args:
            filters (dict): Dictionary of Python functions to use as :program:`Jinja2` filters.
            force (bool): If set to ``True``, forces the registration of a filter no matter if it already exists or not.

        """
        for filter_name, filter_ref in filters.items():
            self.register_filter(filter_name, filter_ref, force)