Make validate fn public, reference it directly it defconfig
Add docstring to public validate fn; update test.
Merge pull request #17 from outpace/devin/fix-validate

Make validate fn public, reference it directly it defconfig