def METHOD_NAME(database: str, statements: List[Dict], atomic: bool) -> Dict:
    if not isinstance(database, str):
        raise ValueError(f'database must be str; got {type(database)}')
    return dict(e=dict(d=database, s=statements, a=1 if atomic else 0))