from typing import List
from typing import Dict


def _add_annotation(objs: List[Dict], annotation_key: str) -> List[Dict]:
    """
    Adds a boolean annotation (set to True) to a list of rich text objects
    (https://developers.notion.com/reference/rich-text)
    """
    for obj in objs:
        if 'annotations' in obj:
            obj['annotations'][annotation_key] = True
        else:
            obj['annotations'] = {annotation_key: True}
    return objs