Version: 2017.3
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.