code: def _check_sample_belongs_to_support(self, sample, atol):
      self.assertTrue(gs.all(sample >= 0.0))
      self.assertTrue(
          gs.all(gs.abs(gs.sum(sample, axis=-1) - 1.0) < atol)
      )
  
file_path: geomstats/geomstats/test_cases/information_geometry/dirichlet.py
imports: import pytest
  import geomstats.backend
  from geomstats.test_cases.geometry.base import VectorSpaceOpenSetTestCase
  from geomstats.test_cases.geometry.riemannian_metric import RiemannianMetricTestCase
  from geomstats.test_cases.information_geometry.base import InformationManifoldMixinTestCase
label_desc: Use image node_id 1 for calling the DirichletDistributionsTestCase obj's underlying member method code with example usage: obj._check_sample_belongs_to_support(sample, atol) without return types