Use hasOwnProperty to Check if Object has Attribute