A check that makes sure that a specified pattern exists (or not) in the file.