code: def pages(self):
          # type: () -> ProfileIterator
          
          if self._owner_id is None:
              it = ProfileIterator.from_username(self._username, self.session)
              self._owner_id = it.owner_id
              return it
          return ProfileIterator(self._owner_id, self.session, self.rhx)
docs: Obtain an iterator over Instagram post pages.
  
          Returns:
              PageIterator: an iterator over the instagram post pages.
  
          Raises:
              ValueError: when the requested user does not exist.
              RuntimeError: when the user is a private account
                  and there is no logged user (or the logged user
                  does not follow that account).