@Override
    public boolean isSelected(@NotNull AnActionEvent event) {
      return HierarchyBrowserManager.getInstance(myProject).getState().HIDE_CLASSES_WHERE_METHOD_NOT_IMPLEMENTED;
    }
@Override
    public boolean isSelected(@NotNull AnActionEvent event)