Optional parameter is a list of device objects. If omitted, will
            just print all portal devices objects.

def print_device_list(self, device_list=None):
        """
            Optional parameter is a list of device objects. If omitted, will
            just print all portal devices objects.
        """
        dev_list = device_list if device_list is not None else self.get_all_devices_in_portal()

        for dev in dev_list:
            print('{0}\t\t{1}\t\t{2}'.format(
                    dev['info']['description']['name'],
                    dev['sn'],
                    dev['portals_aliases']\
                        if len(dev['portals_aliases']) != 1
                        else dev['portals_aliases'][0]
                )
            )