In a way, yes; an X-ray may show evidence of bone loss, which is an indicator of infection.