Determines whether a specified layer object is off.
Returns true if the layer is off, otherwise returns false.