pelvic exam

During a pelvic exam will they be able to see if there is damage from an sti? Such as scarring or PID? 
Thank you