def check_for_update(self, force=True, download=False):
part = '<STR_LIT>' % (<NUM_LIT:1> if download else <NUM_LIT:0>)<EOL>if force:<EOL><INDENT>self.query(part, method=self._session.put)<EOL><DEDENT>releases = self.fetchItems('<STR_LIT>')<EOL>if len(releases):<EOL><INDENT>return releases[<NUM_LIT:0>]<EOL><DEDENT>
Returns a :class:`~plexapi.base.Release` object containing release info.

           Parameters:
                force (bool): Force server to check for new releases
                download (bool): Download if a update is available.