[BUGFIX] Replace run()->toBool() with test()
[BUGFIX] Replace run()->toBool() with test()

To toBool() functionality has been dropped in deployer 6. 

This patch replaces the run()->toBool() call with test().
deployphp/recipes