def _ScoreRequested(params):
 return (params.has_scorer_spec() and params.scorer_spec().has_scorer())

def _ScoreRequested ( params ) : return ( params . has_scorer_spec ( ) and params . scorer_spec ( ) . has_scorer ( ) )
returns true if match scoring requested .