Question: Here is one sentence: The new law will come into effect on the first day of next year.
Here is another sentence: The law is still in effect.
Does the effect mean the same thing in the two sentences?

Answer: the same meaning

Question: Here is one sentence: Set up an experiment.
Here is another sentence: Set the table.
Does the set mean the same thing in the two sentences?

Answer: the same meaning

Question: Here is one sentence: Fall prey to an imposter.
Here is another sentence: The line of men fall forward.
Does the fall mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: He examined the child's head for vermin.
Here is another sentence: Bring these gypsy vermin to the Palace of Justice.
Does the vermin mean the same thing in the two sentences?

Answer:
different meanings