def get_droplet_by_name(manager, name):
    """Returns a droplet for the given name, or None"""
    my_droplets = manager.get_all_droplets()
    for droplet in my_droplets:
        if droplet.name == name:
            return droplet

    return None