original_string: protected function isWebsocketPushPacket($packet)
      {
          if (! is_array($packet)) {
              return false;
          }
  
          return $this->isWebsocket
              && array_key_exists('action', $packet)
              && $packet['action'] === Websocket::PUSH_ACTION;
      }
code: protected function isWebsocketPushPacket($packet)
      {
          if (! is_array($packet)) {
              return false;
          }
  
          return $this->isWebsocket
              && array_key_exists('action', $packet)
              && $packet['action'] === Websocket::PUSH_ACTION;
      }
code_tokens: protected function isWebsocketPushPacket ( $ packet ) { if ( ! is_array ( $ packet ) ) { return false ; } return $ this -> isWebsocket && array_key_exists ( 'action' , $ packet ) && $ packet [ 'action' ] === Websocket :: PUSH_ACTION ; }
docstring: Indicates if a packet is websocket push action.
  
  @param mixed
docstring_tokens: Indicates if a packet is websocket push action .