code: function(site, file) {
  			if (!site) {
  				var d = new Deferred();
  				d.resolve(false);
  				return d;
  			}
  			return this.getURLOnSite(site, file).then(function(url) {
  				return url !== null;
  			});
  		}
docs: Convenience methods below