title: Check views display permission for user
body: <p>A user might be in role X.</p>
  
  <p>There exist a view, where display A is allowed for role X while display B is restricted.</p>
  
  <p>How do i programmatically check whether a user belonging to role X can access the display or not?</p>