an experession that checks a list of criteria given a class instance