Python Check If Executable Outlines