def _get_volume_property(key, node_name, container_requirements):
    """Returns a property from the relationship definition of a requirement """
    requirements = [
        required["volume"]
        for required in container_requirements
        if "volume" in required
    ]
    for required in requirements:
        try:
            if required["node"] == node_name:
                return required["relationship"]["properties"][key]
        except (AttributeError, TypeError, KeyError):
            pass

    return False