def story_parser(story):
if __is_deleted(story):<EOL><INDENT>return deleted_parser(story)<EOL><DEDENT>if story['<STR_LIT:type>'] != '<STR_LIT>':<EOL><INDENT>return item_parser(story)<EOL><DEDENT>return Story(<EOL>__check_key('<STR_LIT:id>', story),<EOL>__check_key('<STR_LIT>', story),<EOL>__check_key('<STR_LIT>', story),<EOL>__check_key('<STR_LIT>', story),<EOL>__check_key('<STR_LIT:time>', story),<EOL>__check_key('<STR_LIT:title>', story),<EOL>__check_key('<STR_LIT:type>', story),<EOL>__check_key('<STR_LIT:url>', story),<EOL>)<EOL>
Parses a story object