boolean (@NotNull Project project, @NotNull DnDEvent event) { Object attachedObject = event.getAttachedObject(); if (attachedObject instanceof ChangeListDragBean) { List<Change> changes = ((ChangeListDragBean)attachedObject).getChanges(); return !changes.isEmpty(); } return false; }