docs: def verify_server_core(timeout=120, start_delay=90):
      ''' checks to see if the server_core is running
  
          args:
              delay: will cycle till core is up.
              timeout: number of seconds to wait
      '''
      timestamp = time.time()
      last_check = time.time() + start_delay - 10
      last_delay_notification = time.time() - 10
      server_down = True
      return_val = False
      timeout += 1
      # loop until the server is up or the timeout is reached
      while((time.time()-timestamp) < timeout) and server_down:
          # if delaying, the start of the check, print waiting to start
          if start_delay > 0 and time.time() - timestamp < start_delay \
                  and (time.time()-last_delay_notification) > 5:
              print("Delaying server status check until %ss. Current time: %ss" \
                      % (start_delay, int(time.time() - timestamp)))
              last_delay_notification = time.time()
          # send a request check every 10s until the server is up
          while ((time.time()-last_check) > 10) and server_down:
              print("Checking status of servers at %ss" % \
                      int((time.time()-timestamp)))
              last_check = time.time()
              try:
                  repo = requests.get(CFG.REPOSITORY_URL)
                  repo_code = repo.status_code
                  print ("\t", CFG.REPOSITORY_URL, " - ", repo_code)
              except:
                  repo_code = 400
                  print ("\t", CFG.REPOSITORY_URL, " - DOWN")
              try:
                  triple = requests.get(CFG.DATA_TRIPLESTORE.url)
                  triple_code = triple.status_code
                  print ("\t", CFG.DATA_TRIPLESTORE.url, " - ", triple_code)
              except:
                  triple_code = 400
                  print ("\t", CFG.DATA_TRIPLESTORE.url, " - down")
              if repo_code == 200 and triple_code == 200:
                  server_down = False
                  return_val = True
                  print("**** Servers up at %ss" % \
                      int((time.time()-timestamp)))
                  break
      return return_val