public boolean contains(String connector) {
        return connectorConfigs.containsKey(connector);
    }
Check whether this snapshot contains configuration for a connector.
@param connector name of the connector
@return true if this state contains configuration for the connector, false otherwise
connect/runtime/src/main/java/org/apache/kafka/connect/storage/ClusterConfigState.java