This Friday, Kenya’s High Court is set to rule on a case challenging colonial-era laws that criminalize homosexuality. The petitioners want the court to declare those laws unconstitutional in hopes that will make life easier for the country’s gay, lesbian, bisexual and transgender community. Stanely Muasa, a gay man living in Kenya, said going to parties or events alone is always a risky affair. It is safer if he is in a group of two or three people, he said. In the past, he has been attacked by strangers — an experience shared by many gays and lesbians in Kenya, he said. He is hoping that on Friday, Kenya’s High Court will overturn the law that he said has fueled homophobia for decades. The laws he refers to are the sections of the penal code that make gay sex a crime.