public synchronized boolean containsAction(@NotNull AnAction action) {
    return mySortedChildren.contains(action) || myPendingActions.contains(action);
  }
public synchronized boolean containsAction(@NotNull AnAction action)