public function hasValidMessageType() { return $this->beatmap_id === null && $this->message_type === null || $this->beatmap_id !== null && $this->message_type !== null; }