app.project.item(index).layer(index).activeAtTime(time)
Description
Returns true if this layer will be active at the specified time. To return true, the layer must be enabled, no other
layer may be soloing unless this layer is soloed too, and the time must be between the inPoint and outPoint
values of this layer.
Parameters
time The time in seconds, a floating-point value.
Returns
Boolean.