More just force of habit to allow for floating point math issues if the value is the result of an expression.  Happy to change it, but maybe worth still ignore negative values?  i.e. change to imageryLayer.alpha > 0.0