isMainFrame

public boolean isMainFrame()

Returns true if the context menu is invoked on the main frame.