So, it’s a fun reference to her previous work.
So then not a joke, but a reference. I understood the reference but failed to see the joke. Maybe I am just overly pedantic.
No worries! I always thought of a “joke” as something that was intended to make me laugh. When I first saw this, I laughed as I didn’t expect a reference to her old show. So I personally consider it reasonable to call it a joke. Either way, this all has made me want to go back and watch an episode or two of Married with children. Cheers!