Why is a liver function test important?