Could we use the .nil? method here to check for nil. I think this is the preferred method.