New to getting car inspected

someone correct me if i’m wrong, but i believe a CEL is an automatic ‘fail’ in PA.