pub fn running_on_lambda() -> Result<bool>
Determine whether the code is being executed within an AWS Lambda.
This function can be used to write binaries that are able to run both locally or as a Lambda function.