public synchronized static boolean isLocked(ApplicationDescriptor desc) { return locks.contains(desc.getApplicationId());
public static boolean isLocked(ApplicationDescriptor desc) { synchronized (locks) { return locks.contains(desc.getApplicationId()); }
	public synchronized static boolean isLocked(ApplicationDescriptor desc) {		return locks.contains(desc.getApplicationId());	}