Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

TrainableDataAction.is_trained

property TrainableDataAction.is_trained: bool

Return False if the DataAction needs to be trained.

A node is considered trained if all its parameters are assigned, or do not have None values.

Returns:

True if the data action has been trained.