Find the exact child with the given prefix

def find_exact(self, prefix):
        '''
        Find the exact child with the given prefix
        '''
        matches = self.find_all(prefix)
        if len(matches) == 1:
            match = matches.pop()
            if match.prefix == prefix:
                return match

        return None