docs: public static Cluster getCluster(Config config, Context context) {
      Cluster cluster = null;
      if (config != null && context != null) {
        String clusterName = context.getCluster();
        if (clusterName != null) {
          List<NamedCluster> clusters = config.getClusters();
          if (clusters != null) {
            for (NamedCluster namedCluster : clusters) {
              if (clusterName.equals(namedCluster.getName())) {
                cluster = namedCluster.getCluster();
              }
            }
          }
        }
      }
      return cluster;
    }