docs: private synchronized HostServerGroupEffect getHostEffect(PathAddress address, String host, Resource root)  {
          if (requiresMapping) {
              map(root);
              requiresMapping = false;
          }
          Set<String> mapped = hostsToGroups.get(host);
          if (mapped == null) {
              // Unassigned host. Treat like an unassigned profile or socket-binding-group;
              // i.e. available to all server group scoped roles.
              // Except -- WFLY-2085 -- the master HC is not open to all s-g-s-rs
              Resource hostResource = root.getChild(PathElement.pathElement(HOST, host));
              if (hostResource != null) {
                  ModelNode dcModel = hostResource.getModel().get(DOMAIN_CONTROLLER);
                  if (!dcModel.hasDefined(REMOTE)) {
                      mapped = Collections.emptySet(); // prevents returning HostServerGroupEffect.forUnassignedHost(address, host)
                  }
              }
          }
          return mapped == null ? HostServerGroupEffect.forUnassignedHost(address, host)
                  : HostServerGroupEffect.forMappedHost(address, mapped, host);
  
      }