parameters: (self)
return_statement: return len(self.sections) == 0 and not self.index_node.parent
docstring: Is this a Ref to the whole book level?
  
          ::
  
              >>> Ref("Leviticus").is_book_level()
              True
              >>> Ref("Leviticus 15").is_book_level()
              False
              >>> Ref("Rashi on Leviticus").is_book_level()
              True
              >>> Ref("Rashi on Leviticus 15").is_book_level()
              False
  
          :return bool:
docstring_summary: Is this a Ref to the whole book level?
docstring_tokens: Is this a Ref to the whole book level?
function: def is_book_level(self):
          """
          Is this a Ref to the whole book level?
  
          ::
  
              >>> Ref("Leviticus").is_book_level()
              True
              >>> Ref("Leviticus 15").is_book_level()
              False
              >>> Ref("Rashi on Leviticus").is_book_level()
              True
              >>> Ref("Rashi on Leviticus 15").is_book_level()
              False
  
          :return bool:
          """
          return len(self.sections) == 0 and not self.index_node.parent
function_tokens: def is_book_level ( self ) : return len ( self . sections ) == 0 and not self . index_node . parent