Layer.isExportable and make sure you only have one exportable group selected for menu