Hello,
Regrettably, Kentico
CMS does not provide any property to determine if Metadata fields are inherited.
However, you can determine the inheritance based on whether the particular field is null or not. If it is null, it means that the value is inherited from the parent node:
if (node.GetValue("DocumentPageTitle") != null)
{
// value is not inherited
}
else
{
// value is inherited and you can access it using node.GetInheritedValue method
}
where node is a
TreeNode object.
If you need more information I would like to point you to
API reference.
Best regards,
Michal Legen