Official Docs: GlideFilter
The scoped GlideFilter class allows you to determine if a record meets a specified set of requirements. There is no constructor for scoped GlideFilter, it is accessed by using the global object 'GlideFilter'
checkRecord
Returns true when the record meets the filter condition