def METHOD_NAME(cmd: NotificationCommand, window_id: int, notify_implementation: NotifyImplementation = notify_implementation) -> None:
    title = cmd.title or cmd.body
    body = cmd.body if cmd.title else ''
    if title:
        identifier = f'i{next(id_counter)}'
        notify_implementation(title, body, identifier)
        register_identifier(identifier, cmd, window_id)