/** * Returns true if the specified message is present as a warning or error * * @param string|Message $message Message key or object to search for * * @return bool */ public function hasMessage($message) { return $this->sv->hasMessage($message); }