'Given a puppeted object, return all controlling sessions.
Args:
puppet (Object): Object puppeted
Returns.
sessions (Session or list): Can be more than one of Object is controlled by
more than one Session (MULTISESSION_MODE > 1).'

def sessions_from_puppet(self, puppet):

    sessions = puppet.sessid.get()
    return (sessions[0] if (len(sessions) == 1) else sessions)
