public static boolean hasSeparatorAbove(XStackFrame frame) {
    return frame instanceof XDebuggerFramesList.ItemWithSeparatorAbove frameWithSeparator &&
           frameWithSeparator.hasSeparatorAbove();
  }
public static boolean hasSeparatorAbove(XStackFrame frame)