Always use Object.prototype.hasOwnProperty on objects with names from templates as keys.