Move this up into brace above. It's just a useless assignment part of the time 

!(boolean !== that.isRepAvailable) == (boolean === that.isRepAvailable)