Checks if there is at least one bySecond modifier
Compare bySecond
bool get hasBySecond => bySecond?.isNotEmpty ?? false;