Given the sentence "A little boy in a green shirt waves an egyptian flag." is it true that "The boy is wearing only swim trunks."?
Let's be accurate as possible and think first.
no
The boy is only wearing swimming trunks so cannot be wearing a shirt as well.

.

So, the final answer is no