code: def test_extrinsic_to_intrinsic_coords_belongs(self, n_points):
      point_extrinsic = self.extrinsic_data_generator.random_point(
          n_points
      )
  
      try:
          point_intrinsic = self.space.extrinsic_to_intrinsic_coords(
              point_extrinsic
          )
      except NotImplementedError:
          return
  
      expected = gs.ones(n_points, dtype=bool)
      self._test_belongs_intrinsic(point_intrinsic, expected)
  
imports: import random
  import pytest
  import scipy
  import geomstats.backend
  from geomstats.learning.frechet_mean import FrechetMean
  from geomstats.test.random import EmbeddedSpaceRandomDataGenerator, HypersphereIntrinsicRandomDataGenerator
  from geomstats.test.test_case import TestCase
  from geomstats.test.vectorization import generate_vectorization_data
  from geomstats.test_cases.geometry.base import LevelSetTestCase
  from geomstats.test_cases.geometry.manifold import ManifoldTestCase
  from geomstats.vectorization import get_batch_shape
label_desc: Use image node_id 8 for calling the HypersphereCoordsTransformTestCase obj's underlying member method code with example usage: obj.test_extrinsic_to_intrinsic_coords_belongs(n_points) without return types