'Check if db socket exists.'

def check_db_socket(self):

    exists = os.path.exists(self.db_socket)
    if (not exists):
        logging.error('OpenVSwitch    database    socket    file    %s    not    exists.', self.db_socket)
    return exists
