Return true, not the index found

A copy-and-paste error from `indexOf`.
Fix typo