WL-3544 : Check if site has .anon role

Changed site.isPubView() to site.hasAnonRole()

(Paired with WL-3544 in announcements)