Major speedup in PDF backend by using hasattr() rather than 'in dir()'
Authored by: mdboom 2007-10-18
Parent: [r3962]
Child: [r3964]