def is_valid_file_ending(self, view):
        isValidFileEnding = re.search('(frag|vert)$', view.file_name()) is not None
        return isValidFileEnding
Checks that the file ending will work for ANGLE
dataset/ETHPy150Open WebGLTools/GL-Shader-Validator/GLShaderValidator.py/GLShaderValidatorCommand.is_valid_file_ending