docstr: Return the font weight, e.g., 'Bold' or 'Roman'.
code: def get_weight(self):
      """Return the font weight, e.g., 'Bold' or 'Roman'."""
      return self._header[b"Weight"]
  
imports: from collections import namedtuple
  import logging
  import re
  from ._mathtext_data import uni2type1
label_desc: Use image node_id 17 for calling the AFM obj's underlying member method code with example usage: obj.get_weight() and returns: self