Return a configure with that id or None.

def get_configure_by_name(self, name):
        """Return a configure with that id or None."""

        for elem in self.configures:
            if elem.name == name:
                return elem
        return None