cellBusyForItem method
Implementation
bool cellBusyForItem(NodeOutput item, int x, int y) {
if (this.s.length == 0 || y >= this.s.length) {
return false;
}
final cell = s[y][x];
if (cell == null) return false;
if (!cell.isFull &&
item.isAnchor &&
cell.margin != null &&
cell.margin != item.anchorMargin) return false;
return true;
}