Initial implementation of 'bool' filter function