title: How to filter by Attribute set using $this->getAttributes();
body: <p>I am currently using this code for displaying all attributes.  </p>
  
  <pre><code>$attributes = $this-&gt;getAttributes();
  </code></pre>
  
  <p>I want to know how to filter it by Attribute Set, Input type and other attribute options.</p>
  
  <p>Thanks in advance</p>