Implemented contains().