Not sure no  Maybe you have a big library that has some hooks that you want to remove but you don’t know who added them. haha
Both for Tensors and Modules there are no public API to know if there are hooks on them I’m afraid.
But currently (version 1.8), you can check:

Global Module hooks via `torch.nn.modules.module.global{forward,forward_pre,backward}_hooks.
Per-Module hooks via your_mod._{forward,forward_pre,backward}_hooks.
Per-Tensor hooks via your_tensor._backward_hooks (there are no forward hooks on Tensor)