Maybe you were looking for...

Armor Stand name is set but not detected by /testfor

So, I have this command that spawns an armor stand (which should have an name of player): summon armor_stand ~ ~1 ~ {ArmorItems:[{id:"minecraft:leather_boots",