def clear_allow_repeat_items(self):
if (self.get_allow_repeat_items_metadata().is_read_only() or<EOL>self.get_allow_repeat_items_metadata().is_required()):<EOL><INDENT>raise NoAccess()<EOL><DEDENT>self.my_osid_object_form._my_map['<STR_LIT>'] =bool(self._allow_repeat_items_metadata['<STR_LIT>'][<NUM_LIT:0>])<EOL>
reset allow repeat itmes to default value