Kernel Function Example In Python If You Executed Contract Vs Executory