Types: Refer to deferred.state instead of deprecated APIs

Closes gh-408

deferred.isResolved and .isRejected were deprecated then removed in favor of .state