Function isValidZoomLevelLimits