pub unsafe fn is_promise(ctx: *mut JSContext, obj: &QuickJsValueAdapter) -> bool
When passing a context pointer please make sure the corresponding QuickJsContext is still valid