isEmpty method

bool isEmpty (
  1. Node owner
)

if owner rules is empty returns true

Implementation

bool isEmpty(Node owner) =>
    (owner?.rules != null) ? owner.rules.isEmpty : true;