private boolean isServerReadOnly() {
		try {
			return server.isReadOnly();
		}
		catch (IOException e) {
			return true;
		}
	}
Wizard step in the new project wizard selecting or creating a new repository in a Ghidra server.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/wizard/project/RepositoryStep.java