Ingore else branches for hasOwnProperty