code: def _sample_variant_file_in_population(x):
      
      if "population" in x:
          a = _get_project_vcf(x)
          b = _get_variant_file(x, ("vrn_file",))
          decomposed = tz.get_in(("population", "decomposed"), x)
          if (a and b and not decomposed and len(a) > 0 and len(b) > 0 and
                vcfutils.get_samples(a[0]["path"]) == vcfutils.get_samples(b[0]["path"])):
              return True
      return False
docs: Check if a sample file is the same as the population file.
  
      This is true for batches where we don't extract into samples and do not
      run decomposition for gemini.