We have garter snakes up to 5' long here and I've always been told that having cats keeps them away in part because we don't get rats/mice with cats present. I don't imagine a cat could discourage an adult black snake but you certainly wouldn't get breeding near the coop if you encouraged cats...