def _CheckPrefix(prefix):
 return _ValidateString(prefix, 'prefix', MAXIMUM_FIELD_PREFIX_LENGTH, empty_ok=True)

def _CheckPrefix ( prefix ) : return _ValidateString ( prefix , 'prefix' , MAXIMUM_FIELD_PREFIX_LENGTH , empty_ok = True )
checks if the untokenized or tokenized prefix field is a valid string .