PHP Q: I have a class C, which uses a trait T, which defines method M. I have an object, and I want to know if it defines method M before I call it.
method_exists() returns false, is_callable() can't be used as __call() gives a false positive.
How do I approach this?