'Check if db_file exists.'

def check_db_file(self):

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