def is_valid_file_ending(self, view):
        isValidFileEnding = re.search('(frag|vert)$', view.file_name()) is not None
        return isValidFileEnding
Close and return any error message
dataset/ETHPy150Open WebGLTools/GL-Shader-Validator/GLShaderValidator.py/GLShaderValidatorCommand.is_valid_file_ending--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/exceptions/errormiddleware.py/CatchingIter._close