code: public boolean isResolutionAvailable(double resolution) {
  		double max = MAX_RESOLUTION;
  		double minimumScale = getMinimumScale();
  		if (minimumScale > 0) {
  			max = 1.0 / getMinimumScale();
  		}
  		double min = 1.0 / maximumScale;
  		return resolution >= min && resolution <= max;
  	}
docs: Is the given resolution available (given the maximum bounds, and current size of the map) or not?
  
  @param resolution
  The resolution to calculate availability for.
  @return Returns true or false. If false, the given resolution cannot be reached.
  @since 1.8.0