validate()
Check whether a value is non-empty and valid.
Usage
validate(value)Parameters
value: str-
The string to validate.
Returns
bool-
True if the value is valid.
Check whether a value is non-empty and valid.
Usage
value: strThe string to validate.
boolTrue if the value is valid.