This version of Unity is unsupported.

ShaderKeyword.IsValid

public bool IsValid();

Description

Returns true if the keyword has been imported by Unity.