Safety check for showing layer enumeration if layer has no item