Propane and butane are heavier than air. A small leak from a cylinder valve or regulator doesn't drift away; it sinks, and inside a hull it settles in the bilge waiting for a spark. The gas locker exists to keep that leak outside the boat, and the drain is what makes it work.
What the standard asks
ABYC A-1 covers LPG systems. In our words, as quoted by Soundings and on owner forums: cylinders must be secured for sea, readily accessible and kept on the outside of the boat or in a dedicated locker. The locker must be vapour tight to the hull interior, sit above the waterline, open from the top, and drain overboard through a dedicated vent from its bottom to an outlet lower than the locker floor and above the waterline, with no low spots on the way. Soundings adds that ABYC recommends LPG vents at least 20 inches from any hull opening into the boat. ABYC A-30 keeps cylinders over 8 ounces out of the boat entirely.
In the UK, the Boat Safety Scheme rule quoted on the YBW forum covers the low locker problem: any space below the drain that could hold leaked gas has to be filled with gas-resistant material.
How a surveyor checks it
Open the locker and look at what's in it: cylinders only, secured, with the regulator and hose in good order. Find the drain at the bottom and follow it to the hull. It should fall all the way, with no kinks or loops, to an outlet clear of the waterline. Check the locker's sides and lid against the hull interior: a gap into a cockpit locker or the engine space defeats it.
The most common faults are mundane. Fenders, fuel cans and lines stored with the cylinders, a drain blocked with leaves, or an outlet that dips under water when the boat heels.