def _get_explicit_graded(block):
 field_value = getattr(block.transformer_data[GradesTransformer], GradesTransformer.EXPLICIT_GRADED_FIELD_NAME, None)
 return (True if (field_value is None) else field_value)

def _get_explicit_graded ( block ) : field_value = getattr ( block . transformer_data [ GradesTransformer ] , GradesTransformer . EXPLICIT_GRADED_FIELD_NAME , None ) return ( True if ( field_value is None ) else field_value )
returns the explicit graded field value for the given block .