- indexOf works, you could also use underscores include method which may be more readable;