protected function isSerialized($message)
  {
    $this->statHat->ezCount('MB_Toolbox: MB_Toolbox_BaseConsumer: isSerialized', 1);
    return ($message == serialize(false) || @unserialize($message) !== false);
  }
protected function isSerialized($message)
  {
    $this->statHat->ezCount('MB_Toolbox: MB_Toolbox_BaseConsumer: isSerialized', 1);
    return ($message == serialize(false) || @unserialize($message) !== false);
  }
protected function isSerialized ( $ message ) { $ this -> statHat -> ezCount ( 'MB_Toolbox: MB_Toolbox_BaseConsumer: isSerialized' , 1 ) ; return ( $ message == serialize ( false ) || @ unserialize ( $ message ) !== false ) ; }
Detect if the message is in seralized format.

Originally the Message Broker system used seralization to format messages as all of the producers and
consumers are PHP based applications. To support microservices in other languages a more genaral JSON
format is being used for message formatting.

@param string $message

@return string
Detect if the message is in seralized format .