Detect if Context menu is open

Hello!
I want to make IF not happen if Context menu is open
if (!ContextMenuOpen)
Is any way I can identify is it open or not?
Thanks!



hook.Add("Think", "CONTEXT_OPEN", function()
  if not (input.IsKeyDown(KEY_C))) then
    print("It's not open")
  end
end)