(printer)
Internal utility to see if printer (or subprinter) is enabled.
Internal utility to see if printer (or subprinter) is enabled.
Internal utility to see if printer ( or subprinter ) is enabled .
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
def printer_enabled_p ( printer ) : if hasattr ( printer , "enabled" ) : return printer . enabled else : return True