class VersionHandler {

	static boolean isReadyToUpgrade() {
		boolean isReadyToUpgrade = false;
		try{
			LoggingService.logDebug(MODULE_NAME, "Checking is ready to upgrade");
			isReadyToUpgrade = isNotWindows()
					&& isPackageRepositoryUpdated()
					&& areNotVersionsSame();
			LoggingService.logDebug(MODULE_NAME, "Is ready to upgrade : " + isReadyToUpgrade);
		} catch (Exception e){
			LoggingService.logError(MODULE_NAME, "Error getting is ready to upgrade", new AgentSystemException(e.getMessage(), e));
		}
		return isReadyToUpgrade;
	}

}