WL-3544 : Check if site has .anon role

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

Generally we try not to bloat the API of object with calls that aren't directly related to the object. Otherwise the site object very quickly contains lots of methods that are just used in a few places.