public function contains($value) { return $this->any(function ($x) use($value) { return $x === $value; }); }