self.reg is None 

is nicer