Singular tense Komondor, it's a breed of Hungarian livestock guarding dog (particularly sheep) other such breeds being the Great Pyrenees, Meremma, and Anatolian Shepard. They don't herd livestock like border collies or Australian Shepards, but guard them from predation. Sheepherders in the west are now using them to good effect, but not great pets - they have aloof personalities.
You're absolutely right. There is speculation (because who knows these guard dogs are quite old breeds) that many of these livestock guards dogs are white for just that reason so that wolves, bears (and now-a-days in the west coyotes) come along and get an unpleasant surprise - in that they can't just take a look and say oh the dogs over on the left flank of the flock so if I swing around here to the right flank "leg of lamb is what's for dinner."