app.project.item(index).layer(index).isNameFromSource
Description
True if the layer has no expressly set name, but contains a named source. In this case, layer.name has the same value as layer.source.name.
False if the layer has an expressly set name, or if the layer does not have a source.
Type
Boolean; read-only.