To have the upper hand / To be in control
Literally 'to have the frying pan by the handle'. Describes the person who holds power and controls a situation.
In that negotiation, they had the upper hand.
Since she arrived, she's been in control.
—Who decides? —He has the upper hand.