Instead of iterating, just use `Array#include?`