@staticmethod
def _get_disk_level(lsblk_disk_line):
    """ Helper to parse disk hierarchy returned by 'lsblk' """
    level = 0
    for c in lsblk_disk_line:
        if c in ['`', '|', '-', ' ']:
            level = level + 1
        else:
            break
    return level, lsblk_disk_line[level:]
