Serum sex hormone-binding globulin levels are independently associated with nonalcoholic fatty liver disease in people with type 2 diabetes.