I have a program running on AWS Lambda like the following.
threshold = 10 def alerting(x, y): ans = x + y return True if ans > 10 else False