containsIdentity
Checks if the array contains the element using reference comparison (===). Use the in operator to compare elements with equals instead.
Return
true if the exact same instance is stored in the array.
Parameters
element
might be in the array.