Returns true if children isn't null or empty.
true
bool get hasChildren => children?.isNotEmpty == true;