def clear_max_attempts(self):
if (self.get_max_attempts_metadata().is_read_only() or<EOL>self.get_max_attempts_metadata().is_required()):<EOL><INDENT>raise NoAccess()<EOL><DEDENT>self.my_osid_object_form._my_map['<STR_LIT>'] =list(self._max_attempts_metadata['<STR_LIT>'])[<NUM_LIT:0>]<EOL>
stub