added isColl property for record class to detect whether is contans a record or a collection