Use drush_print_r() only when it is available.