<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_userid_presence(self, user_id: str) -> UserPresence: """ Return the current presence state of ``user_id``. """

        return self._userid_to_presence.get(user_id, UserPresence.UNKNOWN)