private boolean hasScheme(String host) {
    return host.contains("://");
  }
I'm a special {@link MetricHostProvider} that can override default component host names.
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/OverriddenMetricsHostProvider.java