Problem: Sentence1: Her features had a delicate cast to them.
Sentence2: The delicate cast of his features.
Q: Does the term cast mean the same thing in both these sentences?

Answer: the same meaning

Problem: Sentence1: I'm going for a dip before breakfast.
Sentence2: This onion dip is just scrumptious.
Q: Does the term dip mean the same thing in both these sentences?

Answer: different meanings

Problem: Sentence1: He has a smooth line but I didn't fall for it.
Sentence2: Toe the line.
Q: Does the term line mean the same thing in both these sentences?

Answer: different meanings

Problem: Sentence1: The "war on drugs" is a campaign against the use of narcotic drugs.
Sentence2: The war against crime.
Q: Does the term war mean the same thing in both these sentences?

Answer:
the same meaning