stub

def add_choice(self, choice, inline_region, identifier=None, name=''):
        """stub"""
        if inline_region not in self.my_osid_object_form._my_map['choices']:
            raise IllegalState('that inline region does not exist. Please call add_inline_region first')

        if identifier is None:
            identifier = str(ObjectId())
        current_identifiers = [c['id'] for c in self.my_osid_object_form._my_map['choices'][inline_region]]
        if identifier not in current_identifiers:
            choice = {
                'id': identifier,
                'texts': [self._dict_display_text(choice)],
                'name': name
            }
            self.my_osid_object_form._my_map['choices'][inline_region].append(choice)
        else:
            for current_choice in self.my_osid_object_form._my_map['choices'][inline_region]:
                if current_choice['id'] == identifier:
                    self.add_or_replace_value('texts', choice, dictionary=current_choice)
                    choice = current_choice
        return choice