How to know if an object implements a specific function of an interface in C++

I want to know if an object implements a specific function of an interface, not the interface itself