def require_moderator_email_prereqs_are_satisfied():
 if (not feconf.REQUIRE_EMAIL_ON_MODERATOR_ACTION):
  raise Exception('For moderator emails to be sent, please ensure that REQUIRE_EMAIL_ON_MODERATOR_ACTION is set to True.')
 if (not feconf.CAN_SEND_EMAILS):
  raise Exception('For moderator emails to be sent, please ensure that CAN_SEND_EMAILS is set to True.')

def require_moderator_email_prereqs_are_satisfied ( ) : if ( not feconf . REQUIRE_EMAIL_ON_MODERATOR_ACTION ) : raise Exception ( 'For moderator emails to be sent, please ensure that REQUIRE_EMAIL_ON_MODERATOR_ACTION is set to True.' ) if ( not feconf . CAN_SEND_EMAILS ) : raise Exception ( 'For moderator emails to be sent, please ensure that CAN_SEND_EMAILS is set to True.' )
raises an exception if .