API: Make is_composite a property.
Merge pull request #119 from danielballan/composite-prop

API: Make is_composite a property.