Would you recommend learning it?
if you have recently heard or played any other notes which you know what they are, then, ANY other note that is played, you MUST know what it is. if you can't get that then you need to get that. However, if you have not recently heard any sound or notes or music which you know the actual notes of, like for example if you just woke up in the morning and have no memory of any songs or notes that you can identify, then it is not expected that you be able to blindly identify the next note. having that skill would be called absolute pitch, and it's kind of like when you can identify a note in a completely and absolutely musicless way, with no musical relation to anything. this is a strange skill that is not related to music in any way whatsoever. To get back to your original question, yes i would be able to identify the note, because i can always remember the last note i heard, and i knew what that one was, so therefore i will know what the next one is when i hear it. also when doing this on a physical keyboard it is made even easier by the fact that the keyboard is shaped in such a way that you can eliminate about half of the notes just based on shape of the key physically