def inject_sessionid_to_public(self) -> bool:
        """
        Inject sessionid from private session to public session

        Returns
        -------
        bool
            A boolean value
        """
        if self.sessionid:
            self.public.cookies.set("sessionid", self.sessionid)
            return True
        return False

        Inject sessionid from private session to public session

        Returns
        -------
        bool
            A boolean value
        
instagrapi/mixins/auth.py