def genre_in_request(ctx: Context, actor: Actor) -> bool: return bool((book := universal.get_book(ctx, actor)) and universal.genre_of_book(book[1]))
def date_in_request(ctx: Context, actor: Actor) -> bool: return bool((book := universal.get_book(ctx, actor)) and universal.get_published_year(book[1]))
def about_in_request(ctx: Context, actor: Actor) -> bool: return bool((book := universal.get_book(ctx, actor)) and universal.what_is_book_about(book[1]))
def date_in_slots(ctx: Context, actor: Actor) -> bool: return bool((book := universal.get_book(ctx, actor)) and (book[2] or check_slot("cur_book_ago")))
def book_in_request(ctx: Context, actor: Actor) -> bool: return bool(universal.get_book(ctx, actor))