public static boolean runningManagedJBang() {
		try {
			return getJarLocation().toRealPath().startsWith(Settings.getConfigBinDir().toRealPath());
		} catch (IOException e) {
			return getJarLocation().startsWith(Settings.getConfigBinDir());
		}
	}
Determines if the current JBang we're running was one installed using `app
install` or not
src/main/java/dev/jbang/util/Util.java