pub fn check_api_key(api_key: &str) -> Result<(), VarError>
Verify that an environment variable containing an API key is set.
Returns Ok(()) if the variable exists, otherwise propagates the [VarError].
Ok(())
VarError