correct assertion check, see https://github.com/phetsims/scenery-phet/issues/698
correct assertion check, see https://github.com/phetsims/scenery-phet/issues/698

phetsims/scenery-phet,phetsims/scenery-phet,phetsims/scenery-phet