def is_value_optional(self):
        return self.__class__.VALUE_OPTIONAL == (self.__class__.VALUE_OPTIONAL & self.__mode)
Returns True if the option takes an optional value.
dataset/ETHPy150Open sdispater/cleo/cleo/inputs/input_option.py/InputOption.is_value_optional