How do I know if my septic system is up to code?

The best way to check if the septic system is up to code is to call the local authority having jurisdiction. This person or body will inspect what you have and let you know. Having said that, this person is likely to force you to upgrade the system if it is deficient...