detect

abstract fun detect(input: String): Boolean(source)

Whether input looks like this parser's format.