/** * Checks if a host is allowed to communicate with the cluster manager. * * @param host The host * @return a boolean indicating if the host is allowed. */ private boolean canAllowNode(String host) { return hostsReader.isAllowedHost(host); }