Improved DataManager.isLastLevel method