original_docstring: Test whether this database is ready for use.
  
          :rtype: bool
          :returns: True if the database state is READY_OPTIMIZING or READY, else False.
          
docstring: Test whether this database is ready for use.
docstring_tokens: Test whether this database is ready for use .
code: def is_ready(self):
          """Test whether this database is ready for use.
  
          :rtype: bool
          :returns: True if the database state is READY_OPTIMIZING or READY, else False.
          """
          return (
              self.state == DatabasePB.State.READY_OPTIMIZING
              or self.state == DatabasePB.State.READY
          )
code_tokens: def is_ready ( self ) : return ( self . state == DatabasePB . State . READY_OPTIMIZING or self . state == DatabasePB . State . READY )
short_docstring: Test whether this database is ready for use.
short_docstring_tokens: Test whether this database is ready for use .
comment: """Test whether this database is ready for use.
  
          :rtype: bool
          :returns: True if the database state is READY_OPTIMIZING or READY, else False.
          """