hasParent property

bool hasParent

Implementation

bool get hasParent => parent != null;