check if opts[:database] is even set