'Validate session key on assignment. Invalid values will set to None.'

def _set_session_key(self, value):

    if self._validate_session_key(value):
        self.__session_key = value
    else:
        self.__session_key = None
