Create an executable PFA scoring engine in R by calling Titus through rPython.
If this function is successful, then the PFA is valid (only way to check
PFA validity in R).
Usage
pfa_engine(doc)
Arguments
doc
list of lists representing a complete PFA document