def operation_looks_paginated(operation_model):
 has_input_param = _shape_has_pagination_param(operation_model.input_shape)
 has_output_param = _shape_has_pagination_param(operation_model.output_shape)
 return (has_input_param and has_output_param)

def operation_looks_paginated ( operation_model ) : has_input_param = _shape_has_pagination_param ( operation_model . input_shape ) has_output_param = _shape_has_pagination_param ( operation_model . output_shape ) return ( has_input_param and has_output_param )
checks whether an operation looks like it can be paginated :type operation_model: botocore .