def _CheckText(value, name='value', empty_ok=True):
 return _ValidateString(value, name, MAXIMUM_FIELD_VALUE_LENGTH, empty_ok)

def _CheckText ( value , name = 'value' , empty_ok = True ) : return _ValidateString ( value , name , MAXIMUM_FIELD_VALUE_LENGTH , empty_ok )
checks the field text is a valid string .