def is_json(self):
        if self.request_name:
            abs_static_path = self.abs_file_path or get_absolute_path(self.request_name)
            try:
                json_handle = open(abs_static_path)
                json.load(json_handle)
            except IOError as e:
                LOG.error(str(e))
                return False
            except __HOLE__ as e:
                #Expected if file is not valid json
                return False
        else:
            return False
        return True
dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/models/game.py/_File.is_json