code: def get_dm_online(self):
          
          if not requests:
              return False
          try:
              req = requests.get("https://earthref.org/MagIC/data-models/3.0.json", timeout=3)
              if not req.ok:
                  return False
              return req
          except (requests.exceptions.ConnectTimeout, requests.exceptions.ConnectionError,
                  requests.exceptions.ReadTimeout):
              return False
docs: Use requests module to get data model from Earthref.
          If this fails or times out, return false.
  
          Returns
          ---------
          result : requests.models.Response, False if unsuccessful