By exam history test
By getting a good clinical history and doing an exam that notes pain with prolonged standing and sitting and made worse with extension and sometimes twisting followed by imaging
including x-ray, MRI
& ct and then further procedure testing in terms of facet blocks to see if pain is relieved by this procedure.
This syndrome is usually associated with other back issues.