just do ```if res.nil?```