def addon_can_be_signed(validation):
 summary = validation.get('signing_summary', {})
 return ((summary.get('low', 0) == 0) and (summary.get('medium', 0) == 0) and (summary.get('high', 0) == 0))

def addon_can_be_signed ( validation ) : summary = validation . get ( 'signing_summary' , { } ) return ( ( summary . get ( 'low' , 0 ) == 0 ) and ( summary . get ( 'medium' , 0 ) == 0 ) and ( summary . get ( 'high' , 0 ) == 0 ) )
given a dict of add-on validation results .