@property<EOL><INDENT>def percentage_played(self):<DEDENT>
played = self.object_dict.get('<STR_LIT>', {}).get('<STR_LIT>')<EOL>total  = self.object_dict.get('<STR_LIT>') or <NUM_LIT:1><EOL>return (played or <NUM_LIT:0>)/total<EOL>
returns played percentage [0,1] of item