Eliminate this.  This is no different than doing os.path.exists(path)--replace all calls to this function with calls to os.path.exists.