def prep_search_value(self, term, lookup_type):
        term = term.lower()
        if term == 'true':
            term = True
        elif term == 'false':
            term = False
        else:
            return None
        return super(BooleanColumn, self).prep_search_value(term, lookup_type)
dataset/ETHPy150Open pivotal-energy-solutions/django-datatable-view/datatableview/columns.py/BooleanColumn.prep_search_value/original