def failed(seg):
 return ((seg._marked is False) and (seg._uploaded is False))

def failed ( seg ) : return ( ( seg . _marked is False ) and ( seg . _uploaded is False ) )
test if task result yields failed .