Hello!
Yes, unfortunately he looks to be a cockerel. I wish the city allowed people to keep them. Before I moved onto a larger property I had a small flock of chickens, but my rooster gave us away, so we had to get rid of them. So sorry, it’s a bummer, but I guess you should follow the rules...