WSTUtils.LIVERELOAD_SERVER_TYPE.equals(server.getServerType().getId()) is even safer, as it convers the *unlikely* case of having a null id.