I want to test internal links(refer to other section or figure) in pdf. Is there any module or method which can do this in python