lib/SteamCondenser/Community/Cacheable.php
public static function isCached($id) {
        $findId = function($id, $cache) use (&$findId) {
            self::selectIds($id, $ids);

            if (array_key_exists($id, $cache)) {
                return (is_array($ids)) ? $findId($id, $cache[$id]) : true;
            }

            return false;
        };

        return $findId($id, self::$cache);
    }
public static function isCached($id) {
        $findId = function($id, $cache) use (&$findId) {
            self::selectIds($id, $ids);

            if (array_key_exists($id, $cache)) {
                return (is_array($ids)) ? $findId($id, $cache[$id]) : true;
            }

            return false;
        };

        return $findId($id, self::$cache);
    }
Returns whether an object with the given ID is already cached

@param mixed $id The ID of the desired object
@return bool <var>true</var> if the object with the given ID is already
cached