Packed food in suitcase on plane

I’m traveling by plane to visit family and want to bring their favorite dish (Greek spanakopita). It would be frozen and packed in my suitcase. Is this acceptable by airlines?

Is this domestic US air travel? International? Something else?

Domestic

Checked baggage: yes.

Carry-on: yes, but ice packs must be fully frozen when going through security.

Thank you! :blush:

I’ve done this before with homemade stuff - freeze it rock hard and double-wrap it so it doesn’t leak if it starts thawing.