if (frame.getKind().equals(parent_relation)) disestablishParentage(frame);
if (isParentageRelation(frame)) disestablishParentage(frame);
    public void removeFrame(Frame frame)    {	HashMap kb = frameKB(frame);	synchronized (kb) {	    kb.remove(frame.getUID());	}	if (frame.getKind().equals(PROTOTYPE)) {	    String name = (String) frame.getValue("name");	    synchronized (prototypes) { prototypes.remove(name); }	}	// Handle the removal of parent-child relationship frames	if (frame.getKind().equals(parent_relation))	    disestablishParentage(frame);	if (bbs != null) bbs.publishRemove(frame);    }