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