def is_composite(self):
    return self.parts or all(pval.producer is not self for pval in self.outputs)
Returns whether this is a composite transform.
dataset/ETHPy150Open GoogleCloudPlatform/DataflowPythonSDK/google/cloud/dataflow/pipeline.py/AppliedPTransform.is_composite