def get_annotation(db_path, db_list):
annotated = False<EOL>for db in db_list:<EOL><INDENT>if db["<STR_LIT:path>"] == db_path:<EOL><INDENT>annotated = db["<STR_LIT>"]<EOL>break<EOL><DEDENT><DEDENT>return annotated<EOL>
Checks if database is set as annotated.