What is a sea lawyer?

I’ve always thought of a sea lawyer as a sailor who dispenses legal advice to shipmates freely but without a formal law education to validate his advice.