Given the author appears to be female, I suspect the irony is entirely on purpose.
However, the author may genuinely not have noticed the sexist connotation until it was pointed out.
Either that or she is being deliberately patronising towards perceived innocence, also for comedic effect.