def equals(self, option):
        return option.get_name() == self.get_name()\
            and option.get_shortcut() == self.get_shortcut()\
            and option.get_default() == self.get_default()\
            and option.is_list() == self.is_list()\
            and option.is_value_required() == self.is_value_required()\
            and option.is_value_optional() == self.is_value_optional()
Checks whether the given option equals this one.
dataset/ETHPy150Open sdispater/cleo/cleo/inputs/input_option.py/InputOption.equals