isInvalidUsername

fun Throwable.isInvalidUsername(): Boolean