Function checkEquals

Results in "validity" if a given value equals, using ===, any of the specified values.