class IsOpenRunnable implements Runnable {

        boolean open = false;

        @Override
        public void run() {<FILL_FUNCTION_BODY>}
    }

            EditToolTopComponent topComponent = findInstance();
            open = topComponent != null && topComponent.isOpened();
        
<no_super_class>