boolean checkIsDynamicIndexWithFormat(String index) {
			return dynamicIndexTimeExtractPattern.matcher(index).matches();
		}
Check time extract dynamic index is enabled or not by index pattern.
elasticsearch7/elasticsearch7-sink/src/main/java/org/apache/flink/streaming/connectors/elasticsearch/index/IndexGeneratorFactory.java