LayoutsPageBase.SupportsReadOnlySite property
SharePoint 2013
Gets a value that indicates whether this page supports a read-only site collection (or database).
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)