check if the output is used