public function isOK() { return in_array($this->getCode(), array(self::OK, self::CREATED, self::ACCEPTED)); }