Filter for :func:`~ommongo.fields.mapping.DictField`.

            **Examples**: ``query.filter_dict({"User.Fullname": "Oji"})``

def filter_dict(self, query, **kwargs):
        ''' Filter for :func:`~ommongo.fields.mapping.DictField`.

            **Examples**: ``query.filter_dict({"User.Fullname": "Oji"})``
        '''
        for name, value in query.items():
            field = name.split(".")[0]
            try:
                getattr(self.type, field)
            except AttributeError:
                raise FieldNotFoundException("Field not found %s" % (field))
        self.query_bypass(query, raw_output=False, **kwargs)
        return self