matches

fun matches(test: String, generationMode: GenerationMode? = null): Boolean