code: def exec_cmd(self, command, **kwargs):
          
          self._is_allowed_command(command)
          self._check_command_parameters(**kwargs)
          return self._exec_cmd(command, **kwargs)
docs: Wrapper method that can be changed in the inheriting classes.