A Cook County judge dismissed a class-action lawsuit last week challenging whether the Elgin mental health facility’s prohibition on the use and possession of personal computers violates state and federal law.Elgin Mental Health Center’s electronics policy currently states patients confined to the facility, which is run by the state’s Department of Human Services, are only allowed to use state-owned computers and even then only if they are enrolled in the distance learning program.Previously, patients in …