Is there a way we can test if the current web is inheriting permission from the parent web. list items have HasUniqueRoleAssignments property that tells if the list is inheriting or has unique permission. But web doesn't have something looks like.
Do SharePoint webs have something similar.