title: How to determine if a AWS Lambda function exists
body: <p>I am new to AWS SDK for JavaScript. I need to check if a Lambda function exists before I trigger execute on it.  </p>
  
  <p>I tried the following:<br>
  Each time I make a <code>lambda.getFunctionConfiguration()</code> using Function name I have to execute. If it returns an Error, the function doesn't exist. If I get meta, I continue with execution.</p>
  
  <p>I feel this is not a cleaner way to handle this. Is there any other way to check if Lambda exists with the name?<br>
  Thanks in advance.</p>