code: def is_padded(self, namespace: str) -> bool:
          
          return self._index_to_token[namespace][0] == self._padding_token
docs: Returns whether or not there are padding and OOV tokens added to the given namespace.