def has_next_assessment_part(self, assessment_part_id):
if not self.supports_child_ordering or not self.supports_simple_child_sequencing:<EOL><INDENT>raise AttributeError()  <EOL><DEDENT>if '<STR_LIT>' in self._my_map and str(assessment_part_id) in self._my_map['<STR_LIT>']:<EOL><INDENT>if self._my_map['<STR_LIT>'][-<NUM_LIT:1>] != str(assessment_part_id):<EOL><INDENT>return True<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>raise errors.NotFound('<STR_LIT>' + str(assessment_part_id) + '<STR_LIT>')<EOL>
This supports the basic simple sequence case. Can be overriden in a record for other cases