from typing import List
from typing import Tuple


def key_exists(key: str, list_keys: List) -> Tuple[int, bool]:
    """
    Finds a dict which has `key` defined from a list `list_keys`

    Args:
        key: the key to find
        list_keys: list of dicts

    Returns:
        index of key if found, whether the key was found
    """
    for i, x in enumerate(list_keys):
        if key in x:
            return i, True

    return -1, False