Revert "Check if IMPORT_DISABLED_TESTS is set (#83436)"
This reverts commit 1187dedd336e4f6c0028e0d081b676c2f5796316.
Reverted https://github.com/pytorch/pytorch/pull/83436 on behalf of https://github.com/huydhn due to The previous change breaks internal builds D38714900 and other OSS tests. The bug has been fixed by this PR. But we decide that it is safer to revert both, merge them into one PR, then reland the fix