Add fn to check CF template validity

This will work, but I think `subprocess.call` is more what you're looking for:

https://docs.python.org/2/library/subprocess.html