boolean () { Collection<DaemonState> selection = myTable.getSelection(); return !selection.isEmpty() && ContainerUtil.exists(selection, state -> state.getToken() != null && !"Stopped".equals(state.getStatus())); }