In reference to the bug “promise.resolved is not a method = done, always...

..., and fail” now this.isResolved and this.isRejected are respectively invoked