isPDF function

Evaluates whether a file is a PDF document.