pub fn pending_block_exists(&self) -> QueryResult<bool> {
        use crate::schema::pending_block::dsl::*;
        let result = pending_block
            .first::<StoragePendingBlock>(self.0.conn())
            .optional()?
            .is_some();

        Ok(result)
    }
/// Returns `true` if there is a stored pending block in the database.
Returns `true` if there is a stored pending block in the database.
Returns ` true ` if there is a stored pending block in the database .
pub fn pending_block_exists(&self) -> QueryResult<bool> {
        use crate::schema::pending_block::dsl::*;
        let result = pending_block
            .first::<StoragePendingBlock>(self.0.conn())
            .optional()?
            .is_some();
        Ok(result)
    }
pub fn pending_block_exists ( & self ) -> QueryResult < bool > { use crate :: schema :: pending_block :: dsl :: * ; let result = pending_block . first :: < StoragePendingBlock > ( self . 0 . conn ( ) ) . optional ( ) ? . is_some ( ) ; Ok ( result ) }
Returns `true` if there is a stored pending block in the database.
Returns ` true ` if there is a stored pending block in the database .
&self