xxxxxxxxxx
# Basic syntax:
import os
os.path.isabs("/your/path")
# Note, os.path.exists("/your/path") if you want to know whether the file or
# directory is present.
# Note, there must be more robust ways to check if a path is well-formatted,
# please comment to let me know if you know of one!