This version of Unity is unsupported.

Asset.readOnly

public bool readOnly;

Description

Returns true is the asset is read only.