isValidOrderString

fun isValidOrderString(order: String?): Boolean

Orders which are not strings, or do not consist solely of ascii characters in the range \x20 (space) to \x7E (~), or consist of more than 50 characters, are forbidden and the field should be ignored if received.