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