The method_exists function would probably be a slightly cleaner way to do this. 
But I'm not sure that it's such a good idea anyway. Why do you need it? 

Reply via email to