def __getattr__(self, name):
        """Delegate unimplemented command calls to active layout.

        For exposed commands that don't exist on the Slice class, this looks
        for an implementation on the active layout.
        """
        if "fallback" in self.__dict__:
            cmd = self.command(name)
            if cmd:
                return cmd
        return super().__getattr__(name)
Delegate unimplemented command calls to active layout.

        For exposed commands that don't exist on the Slice class, this looks
        for an implementation on the active layout.
        
libqtile/layout/slice.py