This version of Unity is unsupported.

Material.IsKeywordEnabled

Switch to Manual
public bool IsKeywordEnabled(string keyword);

Description

Is the shader keyword enabled on this material?