nit: Cast to boolean with `!!`?