title: SASS: How to check if a map exist
body: <p>In SASS I would like to generate some css only if a map exists. For this I have to check first, if the map exists or not. It should work similar to this:</p>
  
  <pre><code>$mymap: (
     width:   10px,
     color:   blue,
  );
  
  
  @if MAP-EXISTS($mymap) {
     .myclass { 
        width: map-get($mymap, width);
        color: map-get($mymap, blue);
     }
  }
  </code></pre>
  
  <p>Due to the fact that a <strong>function 'MAP-EXISTS()' does not exist</strong> in SASS: 
  I am looking for a way to do this on another way. But I cannot figure it out.</p>
  
  <p>So my Question is: <strong>How can I check if a map exists in SASS?</strong></p>
  
  <p>(SASS Version is V3.4.9)</p>
  
  <p>Thx for answers and help.</p>