hard poop!

CM
Moms! My 6 mo old has had hard poops the last two days :( she's ebf and we do baby food. I read where bananas can cause this? It hurts her to go. Is she constipated?