def user_portals_picker(self):
        """
            This function is broken and needs to either be fixed or discarded.

            User-Interaction function. Allows user to choose which Portal
            to make the active one.
        """
        # print("Getting Portals list. This could take a few seconds...")
        portals = self.get_portals_list()
        done = False
        while not done:
            opts = [ (i, p) for i, p in enumerate(portals) ]
            # print('')
            for opt, portal in opts:
                print("\t{0} - {1}".format(opt, portal[1]))
            # print('')
            valid_choices = [o[0] for o in opts]
            choice = _input("Enter choice ({0}): ".format(valid_choices) )
            if int(choice) in valid_choices:
                done = True

                # loop through all portals until we find an 'id':'rid' match
                self.set_portal_name( opts[int(choice)][1][1] )
                self.set_portal_id( opts[int(choice)][1][0] )
                # self.set_portal_rid( opts[int(choice)][1][2][1]['info']['key'] )
                # self.__portal_sn_rid_dict = opts[int(choice)][1][2][1]['info']['aliases']

            else:
                print("'{0}' is not a valid choice. Please choose from {1}".format(
                    choice, valid_choices))
This function is broken and needs to either be fixed or discarded.

            User-Interaction function. Allows user to choose which Portal
            to make the active one.