No, please use like we did in last script ``!drush_is_cli()``