Checks whether a file is a JSON file.
is_json(file)
file
a filepath
a boolean
## Not run: is_json("file.json") ## End(Not run)