@property
    def session(self):
        if self.device.machineIdentifier not in self.plex_sessions:
            return None

        return self.plex_sessions[self.device.machineIdentifier]
Return the session, if any.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/plex.py/PlexClient.session