title: Efficiently check role claim
body: <p>I'm developing an Asp.NET MVC5 web application (.NET 4.6) and I need to show some extra lines of HTML to a group of users with a specific claim. I've seen some verbose solutions but I prefer to keep it short, so I came up with this</p>
  
  <pre><code>@{
      if (System.Security.Claims.ClaimsPrincipal.Current.Claims.ToList().FirstOrDefault(c =&gt; c.Type == "role" &amp;&amp; c.Value == "AwesomeUserRole") != null) {
          &lt;!-- my HTML goes here --&gt;
      }
   }
  </code></pre>
  
  <p>Is it a good way to check for an authenticated user claim or is there a best practice to follow? Any cleaner / more efficient solution is welcome as well.</p>