Nope. I like to keep my big girls in at least a 40gal.
Only if the enclosure is setup improperly. If ample cover and hiding areas are provided so that the snake can travel from one end of the enclosure to the other without being seen, snakes can potentially become comfortable in any sized enclosure.