Is there a property that is set by the field API once fields have been attached to an entity? Is there a property that is set by the field API once fields have been attached to an entity?

For example

$entity-&gt;fields_attached = TRUE


I have been unable to find any information on this, I am looking for a quick and easy way to know if fields have been attached to my own custom entities. If field API does not do something like I have suggested in the question I will handle it myself but I wanted to double check with you fine folks...

If not, I will make a suggestion for this for the Entity API in contrib whenever it attaches fields.

Many thanks in advance :)
No, there is no property on the entity, but you can use field_info_instances() to check on which bundles the field is in use.