def get_next_objective_bank(self):
<EOL>try:<EOL><INDENT>next_item = next(self)<EOL><DEDENT>except StopIteration:<EOL><INDENT>raise IllegalState('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>return next_item<EOL><DEDENT>
Gets next object