Standard fault finding practice. If you have for instance two identical printers but one won't work, swap the leads over. If the fault stays on the same printer it is faulty, if it moves to the other printer the lead or something the lead is attached to at the other end is faulty.