Use `is_expected` in example one-liners.