def METHOD_NAME(self):
    """
    also taken from ftdi lib to work with modified readline function
    """
    lines = []
    try:
        while True:
            line = self.read_line().decode()
            if not line:
                break
                # self.atlas_device.flush_input()
            lines.append(line)
        return lines
    except SerialException:
        self.logger.exception('Read Lines')
        return None
    except AttributeError:
        self.logger.exception('UART device not initialized')
        return None