public boolean isExternal() {
    return resource == null || provider == null;
  }
Determine whether the resource is external (does not use the API framework).

@return true if the resource is external.
ambari-server/src/main/java/org/apache/ambari/server/view/configuration/ResourceConfig.java