code: public static function getStatusMessage($message)
      {
          if ($message instanceof WorkerStatus) {
              return $message;
          } elseif ($message instanceof stdClass && isset($message->_status_)) {
              return WorkerStatus::fromArrayOrObject($message->_status_);
          } elseif (is_array($message) && isset($message['_status_'])) {
              return WorkerStatus::fromArrayOrObject($message['_status_']);
          }
      }
docs: @param mixed $message
  
  @return WorkerStatus|null