class ContainmentAcceptorControlImpl extends AbstractAcceptorControl implements ContainmentAcceptorControl<AbstractCanvasHandler> {

    static boolean areInSameParent(final Element parent,
                                   final Node[] children) {
        return Stream.of(children)
                .map(GraphUtils::getParent)
                .noneMatch(childParent -> !Objects.equals(parent, childParent));
    }

    @Inject public  ContainmentAcceptorControlImpl(final CanvasCommandFactory<AbstractCanvasHandler> canvasCommandFactory,
                                          final CanvasHighlight canvasHighlight);

}