docs: def get_portal_by_name(self, portal_name):
          """
              Set active portal according to the name passed in 'portal_name'.
  
              Returns dictionary of device 'serial_number: rid'
          """
          portals = self.get_portals_list()
  
          for p in portals:
              # print("Checking {!r}".format(p))
              if portal_name == p[1]:
                  # print("Found Portal!")
                  self.set_portal_name( p[1] )
                  self.set_portal_id( p[0] )
                  self.set_portal_cik( p[2][1]['info']['key'] )
                  # print("Active Portal Details:\nName: {0}\nId: {1}\nCIK: {2}".format(
                  #                               self.portal_name(),
                  #                               self.portal_id(),
                  #                               self.portal_cik()))
                  return p
          return None