def _is_alphanumeric_string(self, input_string):
        return bool(re.compile("^[a-zA-Z0-9_]+$").match(input_string))
Check whether a string is alphanumeric.
dataset/ETHPy150Open oppia/oppia/extensions/gadgets/base_test.py/GadgetUnitTests._is_alphanumeric_string