public function hates($playerId) { return Utils::any($this->hatelist, function ($obj) use($playerId) { return $obj->id == $playerId; }); }