public boolean isComponentPartOfCurrentMenu (Component c)

Return true if c is part of the currently used menu

Parameters:
c    a Component

Returns:  true if c is part of the currently used menu, false otherwise