Alternatively you could use in_array() on line 3510.