pub fn is_extension_module() -> bool
Checks if the extension-module feature is enabled for the PyO3 crate.
extension-module
Must be called from a PyO3 crate build script.