Access Sub Function In Python Definition