Simplified Tree.hasDateTrait().