def debug(self) -> bool:
        """Returns whether debug should be enabled or not."""
        debug: dict | bool = self.data.get("debug", False)

        if isinstance(debug, dict):
            return debug.get("global", False)

        return debug
Returns whether debug should be enabled or not.
mov_cli/config.py