Using exists() instead of bool()