Pass bool result to done function call to fail task if conditions weren't met.