[stores] StoreClass: cleaner, more legible approach to checking an object.toString()