Actually, for inbound it's an entirely different matter: the PBX matches the name with its own contacts, and when it sends the call to the Yealink, it will include the name with the incoming call.
So this means the name will appear regardless of whether it exists in the Yealink's phonebook, because the PBX sends it as a Display Name in the SIP INVITE.
Hope this clears things up!