Support eager mode use of `torch.jit.isinstance` with multiple types (#60465)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/60095
Pull Request resolved: https://github.com/pytorch/pytorch/pull/60465
Reviewed By: soulitzer
Differential Revision: D30093110
Pulled By: ansley
fbshipit-source-id: ee9c654bdb031e9eff4837f9f1d489c81e47cc06