container/src/main/java/com/streamsets/datacollector/definition/ConfigDefinitionExtractor.java
private void verifyDependencyExists(
      Map<String, ConfigDefinition> definitionsMap,
      ConfigDefinition def,
      String dependsOnKey,
      Object contextMsg
  ) {
    Preconditions.checkState(definitionsMap.containsKey(dependsOnKey),
        Utils.format("Error while processing {} ConfigDef='{}'. Dependency='{}' does not exist.",
            contextMsg, def.getName(), dependsOnKey));
  }
private void verifyDependencyExists(
      Map<String, ConfigDefinition> definitionsMap,
      ConfigDefinition def,
      String dependsOnKey,
      Object contextMsg
  ) {
    Preconditions.checkState(definitionsMap.containsKey(dependsOnKey),
        Utils.format("Error while processing {} ConfigDef='{}'. Dependency='{}' does not exist.",
            contextMsg, def.getName(), dependsOnKey));
  }
Verify that the config definition's dependency actually maps to a valid config definition