Get constrained attributes

Hi all,

Is there a way in which I can queried for the list of constrained attribute channels (those highlighted in green?)

From the object being constrained?