Checks whether name
is a valid bond option and value
is a valid value for the name
.
If value
is null, the function only validates the option name.
name |
the name of the option to validate |
value |
the value of the option to validate. |
true, if the |