if (skipLocalhost && prov.getLocalServer().equals(server))
boolean hasMailboxService = server.getMultiAttrSet(Provisioning.A_zimbraServiceEnabled).contains("mailbox"); if (skipLocalhost && prov.getLocalServer().equals(server) || !hasMailboxService)
		public void undeployZimlet(String zimlet, boolean skipLocalhost) throws ServiceException {			Provisioning prov = Provisioning.getInstance();			List<Server> allServers = prov.getAllServers();			for (Server server : allServers) {				if (skipLocalhost && prov.getLocalServer().equals(server))					continue;				ZimbraLog.zimlet.info("Undeploying on " + server.getName());				undeployZimletOnServer(zimlet, server);			}		}