def has_more_than_n_keys()

in src/agents/strict_schema.py [0:0]


def has_more_than_n_keys(obj: dict[str, object], n: int) -> bool:
    i = 0
    for _ in obj.keys():
        i += 1
        if i > n:
            return True
    return False