checks the input against the given conditions
@override bool isValid(String? value) { return value!.isNotEmpty; }