public boolean isReference() {
    String name = getName();
    return !StringUtils.isEmpty(reference) ||
        (!StringUtils.isEmpty(name) && (name.startsWith("/") || name.startsWith("./")));
  }
Determines whether this {@link KerberosIdentityDescriptor} indicates it is a refrence to some
other {@link KerberosIdentityDescriptor}.
<p>
A KerberosIdentityDescriptor is a reference if it's <code>reference</code> attibute is set
or if (for backwards compatibility), its name indicates a path. For exmaple:
<ul>
<li><code>SERVICE/COMPONENT/identitiy_name</code></li>
<li><code>/identity_name</code></li>
<li><code>./identity_name</code></li>
</ul>

@return true if this {@link KerberosIdentityDescriptor} indicates a reference; otherwise false
ambari-server/src/main/java/org/apache/ambari/server/state/kerberos/KerberosIdentityDescriptor.java