Is meningitis contagious?

Yesterday and past week or so I've being meeting my friend with her baby last night her baby got rushed to hospital it's meningitis I don't know if this is a stupid question but is it? I'm really worried about my friends baby but of course mine too!