public static bool IsValidAndUsed(ShaderKeyword keyword, string keywordName) { return(keyword.IsValid() && !string.IsNullOrEmpty(keywordName) && keywordName != UNUSED_KEYWORD_NAME); }