private boolean shouldDiscoverDependencies(SmithyBuildConfig config, boolean discoverModels) {
        if (discoverModels) {
            return true;
        } else {
            return config.getMaven().isPresent()
                    && EnvironmentVariable.SMITHY_DEPENDENCY_MODE.get().equals("standard");
        }
    }
Loads, builds, and report validation issues with models.
smithy-cli/src/main/java/software/amazon/smithy/cli/commands/ModelBuilder.java