Added method to NSArray to make "contains" tests more convenient.