Perspective Tree Item Style Based on Data Object

I would like to be able to able to set the style on a tree item based on a value contained in the tree items 'data' object, is this possible?

The below forum post is along the lines of what I need but this example uses a style class to find an item path property in the DOM and set the style accordingly. I cannot figure if it's possible to access the items 'data' object to use in a PSC. For example a tree item in my tree is as follows:

{"label":"Tree Item 1","data":{"TestingStatus":1},"itemPath":[1,0,1]}