Check If Map Is Empty Apex, In this case, the caller still needs to check if the User isn’t empty, for example .