class_docstr: Class for observations and actions in ParlAI.
  
  Functions like a dict, but triggers a RuntimeError when calling __setitem__ for a
  key that already exists in the dict.
docstr: Determine if a message is a padding example or not.
docstr_tok: ["Determine","if","a","message","is","a","padding","example","or","not","."]
code: def is_padding(self) -> bool:
      """
      Determine if a message is a padding example or not.
      """
      return bool(self.get("batch_padding"))
  
file_path: ParlAI/parlai/core/message.py
imports: from __future__ import annotations
  from typing import Any, Dict
label_desc: Use image node_id 5 for calling the Message obj's underlying member method code with example usage: obj.is_padding() and returns: bool