<Bindings>
  <Binding name="EPGP" header="EPGP">
	if EPGPFrame:IsShown() then
		HideUIPanel(EPGPFrame)
	else
		ShowUIPanel(EPGPFrame)
	end
  </Binding>
</Bindings>

<Bindings>
  <Binding name="EPGP" header="EPGP">
    if EPGPFrame then
      if EPGPFrame:IsShown() then
        HideUIPanel(EPGPFrame)
      else
        ShowUIPanel(EPGPFrame)
      end
    end
  </Binding>
</Bindings>

Check if the EPGPFrame exists or not.
Check if the EPGPFrame exists or not.
