Detect String Between Python Function Overloading