docs: public PublicResolver obtainPublicResolver(String ensName) {
          if (isValidEnsName(ensName)) {
              try {
                  if (!isSynced()) {
                      throw new EnsResolutionException("Node is not currently synced");
                  } else {
                      return lookupResolver(ensName);
                  }
              } catch (Exception e) {
                  throw new EnsResolutionException("Unable to determine sync status of node", e);
              }
  
          } else {
              throw new EnsResolutionException("EnsName is invalid: " + ensName);
          }
      }