hasAnthropicApiKeyAuth function
Check if there is Anthropic API key auth available.
Implementation
bool hasAnthropicApiKeyAuth() {
final result = getAnthropicApiKeyWithSource(
skipRetrievingKeyFromApiKeyHelper: true,
);
return result.key != null && result.source != ApiKeySource.none;
}