Check  is set since  is unset on destructing in some cases