Idiom
have all the cardshave/hold all the cards
to be in a strong position when you are competing with someone else, because you have all the advantages.There isn't much hope of him getting custody of the children - as far as the law goes, she holds all the cards.