public boolean method577(int arg0) {
        if (objectTypes == null) {
            if (modelIds == null) {
                return true;
            }
            if (arg0 != 10) {
                return true;
            }
            boolean flag1 = true;
            for (int element : modelIds) {
                flag1 &= Model.isCached(element & 0xffff);
            }
            return flag1;
        }
        for (int j = 0; j < objectTypes.length; j++) {
            if (objectTypes[j] == arg0) {
                return Model.isCached(modelIds[j] & 0xffff);
            }
        }
        return true;
    }