code: def setup_datafind_server_connection(cp, tags=None):
      
      if tags is None:
          tags = []
  
      if cp.has_option_tags("workflow-datafind",
                            "datafind-ligo-datafind-server", tags):
          datafind_server = cp.get_opt_tags("workflow-datafind",
                                          "datafind-ligo-datafind-server", tags)
      else:
          datafind_server = None
  
      return datafind_connection(datafind_server)
docs: This function is resposible for setting up the connection with the datafind
      server.
  
      Parameters
      -----------
      cp : pycbc.workflow.configuration.WorkflowConfigParser
          The memory representation of the ConfigParser
      Returns
      --------
      connection
          The open connection to the datafind server.