pub fn is_entity(&self) -> bool {
        match self.entity {
            Entity::Name(_) => false,
            Entity::Object(_) => true,
        }
    }
/// Returns whether this session holds a loaded graph entity.
///
/// It returns true if this session holds the graph entity or false
/// otherwise. If this function returns true the `entity()` function will
/// return `Some(&Graph)` otherwise that function returns `None`.
Returns whether this session holds a loaded graph entity.
It returns true if this session holds the graph entity or false
otherwise.
Returns whether this session holds a loaded graph entity . It returns true if this session holds the graph entity or false otherwise .
pub fn is_entity(&self) -> bool {
        match self.entity {
            Entity::Name(_) => false,
            Entity::Object(_) => true,
        }
    }
pub fn is_entity ( & self ) -> bool { match self . entity { Entity :: Name ( _ ) => false , Entity :: Object ( _ ) => true , } }
Returns whether this session holds a loaded graph entity.
Returns whether this session holds a loaded graph entity .
&self
&self