Would be useful to expose a function to check whether airplane mode is enabled, wouldn't it be?