def perform_agent_version_check(self, track='stable'):
        """Query the Scalyr API to determine if a newer version is available
        """
        url_path = "/ajax?method=performAgentVersionCheck&installedVersion=%s&track=%s" % (self.__agent_version, track)

        return self.__send_request(url_path, is_post=False)
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/scalyr_client.py/ScalyrClientSession.perform_agent_version_check/original