Allow Status::hasMessage to work with Message objects.