Python Identify Static Method In Cpp