private boolean isUserAdmin(RepositoryAdapter rep) {
		try {
			User user = rep.getUser();
			return user.isAdmin();
		}
		catch (IOException e) {
			// ignore
		}
		return false;
	}
en/disable operations on views depending on whether
any are opened
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/ProjectActionManager.java