protected function isOnDemandBailOut(LogEvent $logEvent) : bool
    {
        if ($this->onDemand === true &&
            (!(array_key_exists(static::PROCESSOR_DATA_KEY, $logEvent) &&
                array_key_exists(static::PROCESSOR_KEY, $logEvent[static::PROCESSOR_DATA_KEY])))) {
            return true;
        }

        return false;
    }