Serverless Create Lambda Function Syntax Python If Function