hasParent property

bool get hasParent

Implementation

bool get hasParent => parent != null;