I want to check if an object has a specific overload method in perl - for example if it has a sub dereferencing overload that would have been defined like this: