Legal Advice

I'm not exactly sure where I should post this. I've been ordered to have no contact with my boyfriend as a part of my requirements for my probation because we got arrested together and the judge says it'll keep me from getting in trouble while I'm on probation. My boyfriend is in jail and his court hearing is on the 11th. Does anyone know if I can go to his court hearing, just as long as I don't communicate with him in any way?