def METHOD_NAME(self):
    cursor = self.connection.cursor()
    cursor.execute("select unique_name from locks"
                   "  where lock_file = ?",
                   (self.lock_file,))
    return cursor.fetchone()[0]