almost_due_reservations should return an empty array so you won't need to check here, in fact this if will always execute since almost_due_reservations will never return false or nil