Pilot filter question

What pilot filter needs to be setup to figure out if an incoming records contains a molecule or reaction?