hasMode

fun hasMode(mode: Char): Boolean