code: function () {
    var deferred = Q.defer();
    getPlatforms().then(function (platforms) {
      var activePlatforms = _(platforms).where({ isAdded : true });
      if (activePlatforms.length > 0) {
        display.success('platforms found: ' + _(activePlatforms).pluck('name').join(', '));
        deferred.resolve();
      } else {
        display.error(
          'No cordova platforms found. ' +
          'Make sure you are in the root folder of your Cordova project ' +
          'and add platforms with \'cordova platform add\''
        );
        deferred.reject();
      }
    });
    return deferred.promise;
  }
docs: Checks if at least one platform was added to the project
  
  @return {Promise} resolves if at least one platform was found, rejects otherwise