original_string: protected function isSwooleQueuePacket($packet)
      {
          if (! is_string($packet)) {
              return false;
          }
  
          $decoded = json_decode($packet, true);
  
          return JSON_ERROR_NONE === json_last_error() && isset($decoded['job']);
      }
code: protected function isSwooleQueuePacket($packet)
      {
          if (! is_string($packet)) {
              return false;
          }
  
          $decoded = json_decode($packet, true);
  
          return JSON_ERROR_NONE === json_last_error() && isset($decoded['job']);
      }
code_tokens: protected function isSwooleQueuePacket ( $ packet ) { if ( ! is_string ( $ packet ) ) { return false ; } $ decoded = json_decode ( $ packet , true ) ; return JSON_ERROR_NONE === json_last_error ( ) && isset ( $ decoded [ 'job' ] ) ; }
docstring: Indicates if a packet is swoole's queue job.
  
  @param mixed
docstring_tokens: Indicates if a packet is swoole s queue job .