Determine of an entity matches a filter
a filter object
an entity to query
TRUE if entity passes the filter, FALSE otherwise