def is_dry_run(self, override: bool = None) -> bool:
        """
        Returns whether current task is a dry_run or not.
        """
        return override if override is not None else self.nornir.data.dry_run
Returns whether current task is a dry_run or not.