Is omar from the wire gay in real life

Just asking because not only did he play Omar on The Wire, he also played a gay man on Hap and Leonard. He seemed to be very convincing in both roles. I was just wondering if it was based on personal experiences. According to his memoir Scenes from My Life, he was hetero but had LGBTQ friends.
Late actor Michael K. Williams details how he fought for The Wire to feature more scenes of gay intimacy. With his performance of Omar Little, the gangster who made a living robbing drug dealers, Williams left an indelible impression in the David Simon drama.