def METHOD_NAME(ctx: Context, actor: Actor) -> Optional[str]:
    book_plain = get_slot("cur_book_plain")(ctx, actor)
    if not book_plain:
        return None
    return get_published_year(book_plain)