What is the best way to filter multiple pids in the V8 scan tool.

Something like:

Code:
-- FIL.TER

return (pid("FILT.WOT",frame()) and pid("FILT.BOOST",frame())

)
Would this be the correct way?