I think you can check the value of 'has_content' for an attribute.
$node.object.data_map.my_attribute.has_content has the value 'true' or 'false'
according to the response of the question : does my attribute named 'my_attribute' has content ?
For me, it works fine and I think it works for any kind of datatypes.
You must be logged in to post messages in this topic!