Not only that, but my dog has enough theory of mind to ignore a toy/food resource until another dog turns up, at which point she will grab it and parade in front of the other dog to show they can't have it. She knows she can demonstrate dominance by holding the resource that she thinks the other dog wants, even though she doesn't want it herself.
Haha love it. we had one which would just shake her head at certain foods. 'nope, not gonna eat it' and just sit nexto the bowl sad :D (we really really tried.. but had to shift foods :D)