Check hasOwnProperty in off()