def out_of_date(original, derived):
return (not os.path.exists(derived)<EOL>or os.stat(derived).st_mtime < os.stat(original).st_mtime)<EOL>
Returns True if derivative is out-of-date wrt original,
both of which are full file paths.