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