hasParts property

bool get hasParts

Returns true when there are children

Implementation

bool get hasParts => parts?.isNotEmpty ?? false;