As written this does not check nil, but rather an empty hash.