Changed if 'len(something):' statements to if len(something) >0

like WTF is 'if len(self.resolver_list):' correct me if that makes
sense.