This version of Unity is unsupported.

MaterialProperty.hasMixedValue

public bool hasMixedValue;

Description

Does this property have multiple different values? (Read Only)

When multiple materials are selected at once, some of their properties can have different values.