A function that determines if the controller's P button has been pressed
True if the P button is pressed or held. Otherwise the function will return false.
from codrone_edu.drone import *
drone = Drone()
print("P button has been pressed!")