def _check_sbml_annotations(model):
assert model is not None<EOL>annotation = model.annotation<EOL>assert annotation is not None<EOL>assert len(annotation) == <NUM_LIT:3><EOL>for key in ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>assert key in annotation<EOL><DEDENT>assert annotation["<STR_LIT>"] == "<STR_LIT>"<EOL>assert annotation["<STR_LIT>"] == "<STR_LIT>"<EOL>assert annotation["<STR_LIT>"] == "<STR_LIT>"<EOL>annotation = model.genes.G1.annotation<EOL>assert len(annotation) == <NUM_LIT:5><EOL>for key in ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>assert key in annotation<EOL><DEDENT>assert annotation["<STR_LIT>"] == "<STR_LIT>"<EOL>assert annotation["<STR_LIT>"] == "<STR_LIT>"<EOL>assert annotation["<STR_LIT>"] == "<STR_LIT>"<EOL>assert annotation["<STR_LIT>"] == "<STR_LIT>"<EOL>assert annotation["<STR_LIT>"] == "<STR_LIT>"<EOL>annotation = model.metabolites.A.annotation<EOL>for key in ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>",<EOL>"<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>assert key in annotation<EOL><DEDENT>assert annotation[<EOL>"<STR_LIT>"] == "<STR_LIT>"  <EOL>annotation = model.reactions.R1.annotation<EOL>for key in ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>",<EOL>"<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>assert key in annotation<EOL><DEDENT>assert annotation["<STR_LIT>"] == '<STR_LIT>'<EOL>
Checks the annotations from the annotation.xml.