original_docstring: True if entity is before cursor according to the current order.
  
      Args:
        entity: a entity_pb.EntityProto entity.
        cursor: a compiled cursor as returned by _DecodeCompiledCursor.
      
docstring: True if entity is before cursor according to the current order.
docstring_tokens: True if entity is before cursor according to the current order .
code: def _IsBeforeCursor(self, entity, cursor):
      """True if entity is before cursor according to the current order.
  
      Args:
        entity: a entity_pb.EntityProto entity.
        cursor: a compiled cursor as returned by _DecodeCompiledCursor.
      """
      comparison_entity = entity_pb.EntityProto()
      for prop in entity.property_list():
        if prop.name() in self.__cursor_properties:
          comparison_entity.add_property().MergeFrom(prop)
      if cursor[0].has_key():
        comparison_entity.mutable_key().MergeFrom(entity.key())
      x = self.__order_compare_entities(comparison_entity, cursor[0])
      if cursor[1]:
        return x < 0
      else:
        return x <= 0
code_tokens: def _IsBeforeCursor ( self , entity , cursor ) : comparison_entity = entity_pb . EntityProto ( ) for prop in entity . property_list ( ) : if prop . name ( ) in self . __cursor_properties : comparison_entity . add_property ( ) . MergeFrom ( prop ) if cursor [ 0 ] . has_key ( ) : comparison_entity . mutable_key ( ) . MergeFrom ( entity . key ( ) ) x = self . __order_compare_entities ( comparison_entity , cursor [ 0 ] ) if cursor [ 1 ] : return x < 0 else : return x <= 0
short_docstring: True if entity is before cursor according to the current order.
short_docstring_tokens: True if entity is before cursor according to the current order .
comment: """True if entity is before cursor according to the current order.
  
      Args:
        entity: a entity_pb.EntityProto entity.
        cursor: a compiled cursor as returned by _DecodeCompiledCursor.
      """