hasOwnProperty for safety