Data science - Revision 2

Are there any cases where name would not be a string? I think you could accomplish the same thing by checking to see if name is nil?