public function equals(Neuron_GameServer_Windows_Window $window) { if ($this->getWindowId() == $window->getWindowId()) { // Check the request data if (json_encode($this->getRequestData()) == json_encode($window->getRequestData())) { return true; } } return false; }