parameters: (printer)
docstring: Internal utility to see if printer (or subprinter) is enabled.
docstring_summary: Internal utility to see if printer (or subprinter) is enabled.
docstring_tokens: Internal utility to see if printer ( or subprinter ) is enabled .
function: def printer_enabled_p(printer):
      """Internal utility to see if printer (or subprinter) is enabled."""
      if hasattr(printer, "enabled"):
          return printer.enabled
      else:
          return True
function_tokens: def printer_enabled_p ( printer ) : if hasattr ( printer , "enabled" ) : return printer . enabled else : return True