add isResolved to Promise