title: Wordpress Magic Members: Checking permissions for an individual page
body: <p>I'm just using the Magic Members plugin, and wondering if anyone has any experience checking permissions for an individual page.  I'm looping through all of the child pages of one of the main pages, but different user levels will be able to view different child pages, so I need to be able to check and display that information based on whether the user has access to that particular child.</p>
  
  <pre><code> &lt;?php
  foreach($pages as $page):
    if ($has_access):             
  ?&gt;
         content for this child page prints out to the screen!                     
   &lt;?php
     endif;   
   $i++;
   endforeach;
  ?&gt; 
  </code></pre>
  
  <p>How can I programmatically find out whether the user has the proper permissions to view that page ($has_access either true or false)?</p>
  
  <p>Thanks!</p>