step a; if(checkSomething){ step b; }else{ print "Not running step b as checkSomething failed" }