A fence is sufficient for purposes of this chapter if it is sufficient to keep out the classes of animals not affected by this subchapter.