Since object A is your input object of the microflow, you can use an exclusive split the way you described to check if a reference is present. If object B was the input object of the microflow you should retrieve object A first and then check if it is empty.