src/Behat/Behat/Output/Node/EventListener/Flow/OnlyFirstBackgroundFiresListener.php
private function isAfterStepWithOutput(Event $event)
    {
        if ($event instanceof AfterStepTested && ($this->stepSetupHadOutput || $event->hasOutput())) {
            $this->stepSetupHadOutput = false;

            return true;
        }

        return false;
    }
private function isAfterStepWithOutput(Event $event)
    {
        if ($event instanceof AfterStepTested && ($this->stepSetupHadOutput || $event->hasOutput())) {
            $this->stepSetupHadOutput = false;

            return true;
        }

        return false;
    }
private function isAfterStepWithOutput ( Event $ event ) { if ( $ event instanceof AfterStepTested && ( $ this -> stepSetupHadOutput || $ event -> hasOutput ( ) ) ) { $ this -> stepSetupHadOutput = false ; return true ; } return false ; }
Checks if provided event is an AFTER step with teardown that produced output.

@param Event $event

@return Boolean
Checks if provided event is an AFTER step with teardown that produced output .