I was thinking more along the lines of most dogs tending to know who is a worthwhile human and those who are less so.
Every dog I have ever owned has been a good judge of character...sometimes I wish I had listened to them