Mobs that are willing to be bred will give off heart particles when you hold their favorite food.
Of all the cows in this pen, only the few with red hearts above their heads are actually willing to be bred.