(
        self, path: Optional[List["SearchSpace"]] = None, default: Any = None
    )
Given a path list, returns a string for the focused path.
        If the path is None, returns everything, without focus.
        If the path does not start with self, returns None
Given a path list, returns a string for the focused path.
        If the path is None, returns everything, without focus.
        If the path does not start with self, returns None
Given a path list returns a string for the focused path . If the path is None returns everything without focus . If the path does not start with self returns None
def str_with_focus(
        self, path: Optional[List["SearchSpace"]] = None, default: Any = None
    ) -> Union[str, Any]:
        """Given a path list, returns a string for the focused path.
        If the path is None, returns everything, without focus.
        If the path does not start with self, returns None
        """
        if path is None:
            return self._focused_str(path=None)
        elif path and path[0] is self:
            return self._focused_str(path=path[1:])
        else:
            return default
def str_with_focus ( self , path : Optional [ List [ "SearchSpace" ] ] = None , default : Any = None ) -> Union [ str , Any ] : if path is None : return self . _focused_str ( path = None ) elif path and path [ 0 ] is self : return self . _focused_str ( path = path [ 1 : ] ) else : return default