ArcGIS Pro 2.8 API Reference Guide
IsEditable Property (RasterLayer)

ArcGIS.Desktop.Mapping Namespace > RasterLayer Class : IsEditable Property
Gets whether a layer is editable.
Syntax
public bool IsEditable {get;}
Public ReadOnly Property IsEditable As Boolean
Remarks
Returns true only when (a) you have data source level permission to edit and (b) it is made editable on the map.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

RasterLayer Class
RasterLayer Members