code: def setModified( self, state = True ):
          
          if ( state == self._modified ):
              return
              
          self._modified = state
          self.emitModifiedStateChanged()
docs: Flags the scene as being modified based on the inputed value.
          
          :param      state   <bool>