E3-1381: Replace cellmode check with more accurate test
We switch from using the cells
metadata variable (which is no longer
supported) to checking if the -l
flag is passed to iocsh, which is a
more robust way of performing this check.
We switch from using the cells
metadata variable (which is no longer
supported) to checking if the -l
flag is passed to iocsh, which is a
more robust way of performing this check.