make apply return true if the style is actually applied