code: function(site, env) {
  
      // Get the framework, default to the wordpress dump since it is LCD
      var framework = app.config.pluginconfig.pantheon.framework || 'wordpress';
  
      // Do not use drush if we have a wordpress site
      if (framework === 'wordpress') {
        return Promise.resolve(false);
      }
  
      // Check to see whether we have an alias for this site or not
      return drushCollect(['sa'])
  
      .then(function(aliases) {
        var list = aliases[0] || '';
        var hasAlias = _.includes(list, ['@pantheon', site, env].join('.'));
        log.info(format(
          'Site %s %s is in Pantheon aliases %j: %s',
          site,
          env,
          list,
          hasAlias
        ));
        return hasAlias;
      });
  
    }
docs: /*
  Determine whether we should use drush