`CollectionProxy#include?` returns `true` and `false` as documented.

Closes #10979

The `CollectionProxy#include?` method is documented to return `true` but it can also return `1` and `nil`. I adjusted the tests and the implementation to make sure it returns booleans.