def is_parsed_result_successful(parsed_result):
 return (parsed_result['ResponseMetadata']['HTTPStatusCode'] < 300)

def is_parsed_result_successful ( parsed_result ) : return ( parsed_result [ 'ResponseMetadata' ] [ 'HTTPStatusCode' ] < 300 )
returns true if a parsed result is successful .