The status of a DataReader can be checked easily by using a property called ‘IsClosed.’ It will tell you if the DataReader is closed or opened.
If it is closed, a true value is returned, and if the reader is open, it returns a false value.