lib/SteamCondenser/Community/SteamGame.php
public static function checkUpToDate($appId, $version) {
        $params = ['appid' => $appId, 'version' => $version];
        $result = WebApi::getJSONObject('ISteamApps', 'UpToDateCheck', 1, $params);
        $result = $result->response;
        if(!$result->success) {
            throw new SteamCondenserException($result->error);
        }
        return $result->up_to_date;
    }
public static function checkUpToDate($appId, $version) {
        $params = ['appid' => $appId, 'version' => $version];
        $result = WebApi::getJSONObject('ISteamApps', 'UpToDateCheck', 1, $params);
        $result = $result->response;
        if(!$result->success) {
            throw new SteamCondenserException($result->error);
        }
        return $result->up_to_date;
    }
Returns whether the given version of the game with the given application
ID is up-to-date

@param int $appId The application ID of the game to check
@param int $version The version to check against the Web API
@return boolean <var>true</var> if the given version is up-to-date
@throws SteamCondenserException if the Web API request fails