code: def communityvisibilitystate(self):
          
          if self._communityvisibilitystate == None:
              return None
          elif self._communityvisibilitystate in self.VisibilityState:
              return self.VisibilityState[self._communityvisibilitystate]
          else:
              #Invalid State
              return None
docs: Return the Visibility State of the Users Profile