What about `static hopefully_this_symbol_doesnt_exist: *int;` and checking that it's null? (And that compilation succeeds.)