shouldValidate

public boolean shouldValidate(FieldContext context)

Returns true if this option exists for the specified field, false otherwise.

Parameters

context

the value to be validated