getDataIfActive

Returns data set in constructor if active, null otherwise.