tbh I don't see why working together means that one is required to attend a function such as a funeral... I know, imho, that it'd be awkward going to the funeral of someone else's kid, even if that someone was my co-worker/TL/whatsayyou.
It isn't like they're close friends of mine or...