SPWeb.HasUniquePerm property
SharePoint 2013
NOTE: This API is now obsolete.
Gets or sets a Boolean value that specifies whether the site has unique permissions.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)