Checks if the given promise is cancelable, i.e. if it has a cancel method.
The promise to check
True if the promise is cancelable, false otherwise
Checks if the given promise is cancelable, i.e. if it has a cancel method.