Tongue/ lip tie

If your baby had a tongue or lip tie did the hospital tell you about it or your pediatrician? Or did you have to ask them to check?