code: protected function tryUnserialize($value)
      {
          if (!is_array($value)
              && 0 === strpos($value, 'a:')
              && is_array($unSerialized = unserialize($value, ['allowed_classes' => false]))) {
              return $unSerialized;
          }
  
          return $value;
      }
docs: Try to unserialize a value.
  
  @param mixed $value The string to process.
  
  @return mixed