Checking if chatbox is opened?

Is there a way to do this locally in Sandbox or base gamemode?

Can that be used clientside?

It can ONLY be used clientside.