Isn't the contains check enough?