pub fn is_main_thread() -> bool
Returns true if we are currently in the main thread
Useful to double-check you aren’t in another thread (otherwise no SV interfaces would be available)