Function checkStringContainsAllOf

Results in "validity" for any string that contains all of the specified values