public final boolean isCancelButton ()

taken from field

A Cancel Button is the button that receives a keyboard VK_ESC press, if no other node in the scene consumes it.