def jsonrpc_check_for_new_version(self):
        """
        Checks local version against versions in __init__.py and version.py in the lbrynet and lbryum repos

        Args:
            None
        Returns:
            true/false, true meaning that there is a new version available
        """



        def _check_version():
            if (lbrynet_version >= self.git_lbrynet_version) and (lbryum_version >= self.git_lbryum_version):
                log.info("[" + str(datetime.now()) + "] Up to date")
                return self._render_response(False, OK_CODE)
            else:
                log.info("[" + str(datetime.now()) + "] Updates available")
                return self._render_response(True, OK_CODE)

        return _check_version()
dataset/ETHPy150Open lbryio/lbry/lbrynet/lbrynet_daemon/LBRYDaemon.py/LBRYDaemon.jsonrpc_check_for_new_version/original