could just use Array's standard `some` method