code: def check_for_update(self, force=True, download=False):
          
          part = '/updater/check?download=%s' % (1 if download else 0)
          if force:
              self.query(part, method=self._session.put)
          releases = self.fetchItems('/updater/status')
          if len(releases):
              return releases[0]
docs: 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.