Add a magic method check on __set & __get magic methods