stopWhen

Overrides this command's isFinished function to finish when condition returns true, or, if it doesn't, when this command would normally finish.