title: Check the presence of an element's attribute - protractor
body: <p>I am fairly new to protractor and angularJS so please help me with this. When the <code>dayReport</code> element is selected, the <code>class='active'</code> attribute is set but when the element is not selected, the attribute is completely removed.</p>
  
  <p>I want to make sure that when another element is selected, <code>dayReport</code> doesn't have the <code>class='active'</code> attribute although the element itself is still present.</p>
  
  <p>I tried this: <code>expect(dayReport.getAttribute('class').isPresent()).toBe(false);</code> and some other few ideas but it I don't seem to make it work. Any ideas?</p>