code: def same_sentence(c):
      
      return all(
          _to_span(c[i]).sentence is not None
          and _to_span(c[i]).sentence == _to_span(c[0]).sentence
          for i in range(len(c))
      )
docs: Return True if all Mentions in the given candidate are from the same Sentence.
  
      :param c: The candidate whose Mentions are being compared
      :rtype: boolean