code: def srs_check(ds):
      
      # ds_srs = get_ds_srs(ds)
      gt = np.array(ds.GetGeoTransform())
      gt_check = ~np.all(gt == np.array((0.0, 1.0, 0.0, 0.0, 0.0, 1.0)))
      proj_check = (ds.GetProjection() != '')
      #proj_check = ds_srs.IsProjected()
      out = False
      if gt_check and proj_check:  
          out = True
      return out
docs: Check validitiy of Dataset srs
  
      Return True if srs is properly defined