windows forms check if form is disposed

C#
Control.IsDisposed
Source

Also in C#: