class_docstr: Spider: a set of rays attached to the origin.
  
  The k-spider consists of k copies of the positive real line
  :math:`\mathbb{R}_{\geq 0}` glued together at the origin [Feragen2020]_.
  
  Parameters
  ----------
  n_rays : int
      Number of rays to attach to the origin.
      Note that zero counts as the origin not as a ray.
  
  References
  ----------
  .. [Feragen2020]  Feragen, Aasa, and Tom Nye. "Statistics on stratified spaces."
      Riemannian Geometric Statistics in Medical Image Analysis.
      Academic Press, 2020. 299-342.
class_docstr_tok: ["Spider",":","a","set","of","rays","attached","to","the","origin",".","The","k-spider","consists","of","k","copies","of","the","positive","real","line",":","math",":","`","\\mathbb","{","R","}","_","{","\\geq","0","}","`","glued","together","at","the","origin","[","Feragen2020","]","_.","Parameters","--","--","--","--","--","n_rays",":","int","Number","of","rays","to","attach","to","the","origin",".","Note","that","zero","counts","as","the","origin","not","as","a","ray",".","References","--","--","--","--","--","..","[","Feragen2020","]","Feragen",",","Aasa",",","and","Tom","Nye",".","``","Statistics","on","stratified","spaces",".","''","Riemannian","Geometric","Statistics","in","Medical","Image","Analysis",".","Academic","Press",",","2020",".","299-342","."]
docstr: Check if a random point belongs to the spider set.
  
  Parameters
  ----------
  point : SpiderPoint or list of SpiderPoint, shape=[...]
       Point to be checked.
  
  Returns
  -------
  belongs : array-like, shape=[...]
      Boolean denoting if the SpiderPoint belongs to the Spider Set.
docstr_tok: ["Check","if","a","random","point","belongs","to","the","spider","set",".","Parameters","--","--","--","--","--","point",":","SpiderPoint","or","list","of","SpiderPoint",",","shape=","[","...","]","Point","to","be","checked",".","Returns","--","--","--","-","belongs",":","array-like",",","shape=","[","...","]","Boolean","denoting","if","the","SpiderPoint","belongs","to","the","Spider","Set","."]
code: def belongs(self, point):
      r"""Check if a random point belongs to the spider set.
  
      Parameters
      ----------
      point : SpiderPoint or list of SpiderPoint, shape=[...]
           Point to be checked.
  
      Returns
      -------
      belongs : array-like, shape=[...]
          Boolean denoting if the SpiderPoint belongs to the Spider Set.
      """
      results = []
      for single_point in point:
          results += [
              self._coord_check(single_point)
              and self._n_rays_check(single_point)
              and type(single_point) is SpiderPoint
          ]
      return gs.array(results)
  
imports: import geomstats.backend
  from geomstats.geometry.euclidean import Euclidean
  from geomstats.geometry.stratified.point_set import Point, PointSet, PointSetMetric, _vectorize_point, broadcast_lists
label_desc: Use image node_id 4 for calling the Spider obj's underlying member method code with example usage: obj.belongs(point) and returns: gs