public static boolean objIsSitting(int objId) {
        synchronized (glob.oc) {
            for (Gob gob : glob.oc) {
                if (gob.id == objId) {
                    Layered lay = gob.getattr(Layered.class);
                    if (lay != null) {
                        for (Entry<Indir<Resource>, Sprite> s : lay.sprites
                                .entrySet()) {
                            if (s.getValue().res.name.contains("gfx/borka/body/sitting/")) {
                                return true;
                            }
                        }
                    }
                }
            }
        }
        return false;
    }