protected function isCausedBySyntheticServiceRequest(\Exception $exception)
    {
        if (!($exception instanceof RuntimeException)) {
            return false;
        }
        return strpos($exception->getMessage(), 'requested a synthetic service') !== false;
    }
protected function isCausedBySyntheticServiceRequest(\Exception $exception)
    {
        if (!($exception instanceof RuntimeException)) {
            return false;
        }
        return strpos($exception->getMessage(), 'requested a synthetic service') !== false;
    }
protected function isCausedBySyntheticServiceRequest ( \ Exception $ exception ) { if ( ! ( $ exception instanceof RuntimeException ) ) { return false ; } return strpos ( $ exception -> getMessage ( ) , 'requested a synthetic service' ) !== false ; }
Checks if a request for a synthetic service caused the provided exception.

@param \Exception $exception
@return boolean
Checks if a request for a synthetic service caused the provided exception .