isModified property

bool get isModified

True if the style layer is modified from its original state; false otherwise.