We looked into our local by-laws and missed the relevant bits because there were more than 20 different sets of by-laws for our area. Plus we didn't use the right keywords for our search. So later we were fined $500 for keeping chickens that are not allowed, when all we found were regulations about pigs...
Here's the gist: we looked up the town laws, but we were under a different set - a local area by-law, not the municipal one - be careful about which by-laws apply to you.
Check your zoning - the rules will be different based on the zoning for your property. The property down the street may be "rural" or "mixed use" but not yours, if yours was subdivided at sometime and re-zoned.
Keywords to use: we used "poultry" and "coop" and "hen house" and they used "livestock" and "accessory building" which means we missed finding the restrictions on the above. And in our case, the lack of mention of "livestock" at all in our zoning meant that somewhere else in the by-law it was stated that livestock is agricultural use, and if agricultural use is not mentioned, it is not allowed. i.e. in our area, if they don't say you can, you can't.
So do look it up for yourself, for sure (don't trust the clerk to know this stuff) but look and look in all sorts of different ways, to find out the whole picture. Sometimes the rules are not easy to find, and hard to interpret. Good luck too - (we were the focus of a busybody also)