contains method

*<Null safety>*

bool contains (E object)

Implementation

bool contains(E object);