title: How to check if element contains specific class attribute
body: <p>How can I check if a selenium web element contains a specific css class.</p>
  
  <p>I have this html li element </p>
  
  <pre><code>&lt;li class="list-group-item ng-scope active" ng-repeat="report in lineageController.reports" ng-click="lineageController.activate(report)" ng-class="{active : lineageController.active == report}"&gt;
  </code></pre>
  
  <p>As you can see inside class attribute there is an active class.</p>
  
  <p>My problem is that I have this element and I want to do a check based on if the class attribute has that "active" value among the others, being more elegant solution then using xpath.</p>
  
  <p>How can I do this? </p>