Validates the parameter.
Returns true if the parameter is valid, false otherwise.
@override bool isValid() { return text.isNotEmpty; }