check for option in option list
Syntax
out = check_option(option_list,option)
out = check_option(option_list,option,type)
out = check_option(option_list,option,[],value)Input
| option_list | cell array |
| option | option name, string or cell array of alias names |
| type | class name or cell array of class names, the option value is required to be of this class |
| value | string the option value is required to be equal to |
Output
| out | true / false |