private function isExpectedScenarioState(Expectation $expectation)
 {
     if ($expectation->getScenarioStateIs()) {
         $this->checkScenarioNameOrThrowException($expectation);
         $this->logger->debug('Checking scenario state again expectation');
         $scenarioState = $this->scenarioStorage->getScenarioState($expectation->getScenarioName());
         if ($expectation->getScenarioStateIs() != $scenarioState) {
             return false;
         }
     }
     return true;
 }