Checks if a request can be made to a language model.
Note that calling this function will not trigger a consent UI but just checks for a persisted state.
A language model chat object.
true if a request can be made, false if not, undefined if the language
model does not exist or consent hasn't been asked for.
Represents extension specific information about the access to language models.
Stubbed