Boyfriend baby momma

My boyfriend is taking his baby momma to court to get visitation with his kids . His baby momma told me I couldn’t be there because it’s the law ? Is that true?