I would think maybe parent has asked you as host in case you know of someone coming where a cold might be a big deal e.g very new baby or other immune compromised person.

It isn't bad for you as host to say is ok for them to come. Remember most things are infectious before visible signs anyway. You could have no one visibly with a cold at your party and someone still catch a cold.