def _CanViewViewpointContent(viewpoint, follower):
 if ((viewpoint is None) or (follower is None) or (not follower.CanViewContent())):
  return False
 if (viewpoint.IsSystem() or base.ViewfinderContext.current().CanViewViewpoint(viewpoint.viewpoint_id)):
  return True
 return False

def _CanViewViewpointContent ( viewpoint , follower ) : if ( ( viewpoint is None ) or ( follower is None ) or ( not follower . CanViewContent ( ) ) ) : return False if ( viewpoint . IsSystem ( ) or base . ViewfinderContext . current ( ) . CanViewViewpoint ( viewpoint . viewpoint_id ) ) : return True return False
returns true if the given follower is allowed to view the viewpoints content: 1 .