def exists(self, path):
        import hdfs
        try:
            self.client.status(path)
            return True
        except hdfs.util.HdfsError as e:
            if str(e).startswith('File does not exist: '):
                return False
            else:
                raise e
Uses the _InsertEvent helper method to insert a single event which
dataset/ETHPy150Open spotify/luigi/luigi/contrib/hdfs/webhdfs_client.py/WebHdfsClient.exists--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-build/python-libs/gdata/samples/calendar/calendarExample.py/CalendarExample._InsertSingleEvent