Just testing if it exists ... could be that the child could nto be loaded and returned null.
Then a npe would be thrown if you try to interact.
It's smart to always null check an object, npc, ... before trying to interact with them.
This will stop your script from jamming