Checking Function In Python Example