Determines whether an element is in the array.
Implements xtd::collections::generic::icollection< type_t >.