It should avoid dynamic lookup including `isinstance`. This is a regression caused by GH-5351.
Attach a file by drag & drop or click to upload