def METHOD_NAME(ctx, op) -> Tuple[str, bool]:
    storage_backend = ctx.get_storage_info(level=StorageLevel.MEMORY)
    if storage_backend.get("name", None) == "vineyard":  # pragma: no cover
        if (
            op.vineyard_socket is not None
            and op.vineyard_socket != storage_backend["socket"]
        ):
            return op.vineyard_socket, True
        else:
            return storage_backend["socket"], False
    else:
        return op.vineyard_socket, True