You can check if your code is running by adding print statements or using a debugger to step through the code.