if (m_mappings.containsKey(p)) { return true; } else { ObjectMap sm = getSuperMap(); if (sm == null) { return false; } else { return sm.hasMapping(p); } }
return getMapping(p) != null;
    public boolean hasMapping(Path p) {        if (m_mappings.containsKey(p)) {            return true;        } else {            ObjectMap sm = getSuperMap();            if (sm == null) {                return false;            } else {                return sm.hasMapping(p);            }        }    }