[NVFuser] add "canBeEnabled" interface
If you try to enable NVFuser when it's not possible, it will error out.
This will allow you to check whether or not it's possible before trying
to enable it.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79648
Approved by: https://github.com/eellison