This is a term used if you can guess/know what someone is about to do or say before it occurs
(I said to a friend) "Shall we go to Spain on holiday." (The other person) "I was just thinking I would love to go to Spain soon, Lead helmet"