Checks whether a file is a PDF file.
is_pdf(file)
file
a filepath
a boolean
## Not run: is_pdf("document.pdf") ## End(Not run)