Here is one sentence: To toy with a piece of food on one's plate.
Here is another sentence: Toy with an idea.
Does the term toy mean the same thing in both these sentences?
the same meaning