from typing import List
from typing import Dict


def check_booted_device(devices: List[Dict]) -> Dict:
    """Check if there is already a booted device. If so, return this device."""

    for device in devices:
        if device["state"] == "Booted":
            return device
    return {}