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

            return true;
        }

        return false;
    }
private function isBeforeStepEventWithOutput(Event $event)
    {
        if ($event instanceof AfterStepSetup && $event->hasOutput()) {
            $this->stepSetupHadOutput = true;

            return true;
        }

        return false;
    }
private function isBeforeStepEventWithOutput ( Event $ event ) { if ( $ event instanceof AfterStepSetup && $ event -> hasOutput ( ) ) { $ this -> stepSetupHadOutput = true ; return true ; } return false ; }
Checks if provided event is a BEFORE step with setup that produced output.

@param Event $event

@return Boolean
Checks if provided event is a BEFORE step with setup that produced output .