Checks for imported packages which are not used or duplicated.