code: public boolean isSingleResult() {
  		if (result == null) {
  			return false;
  		} else {
  			if (singleResult == null) {
  				if (result.size() == 1 && result.values().iterator().next().size() == 1) {
  					singleResult = true;
  				} else {
  					singleResult = false;
  				}
  			}
  			return singleResult;
  		}
  	}
docs: Returns true if the search resulted in a single result in a single layer.
  false in all other cases. Also returns false when search has not yet been
  run.
  
  @return