def METHOD_NAME(line):
    """Parses a single xrandr line to find what displays are active in the
    command.  Returns them as a list.
    """
    active_displays = []
    to_check = line[7:].split("--output ")
    for check in to_check:
        if not check or "off" in check:
            continue
        active_displays.append(check.split(" ")[0])
    return active_displays