title: Check if blob exists in Azure
body: <p>I'm wondering if there is a way to check if a blob exists in a container?</p>
  
  <pre><code>    $blob = $blobRestProxy-&gt;getBlob("mycontainer", "myblobname");
      if($blob){
          return 'exists';
      } else {
          return 'not exists';
      }
  </code></pre>
  
  <p>I've tried this but im getting this message whenever the blob does not exists:</p>
  
  <blockquote>
    <p><Code>BlobNotFound</Code>The specified blob does not exist.</p>
  </blockquote>
  
  <p>If exists, the code returns 'exists' naturally. I'm not interested in listing all blobs in the container and iterating until I find a match cause I have a lot of blobs.</p>