pub(crate) fn is_system_contract(&self, contract_hash: &ContractHash) -> Result<bool, Error> {
        Ok(self
            .system_contract_registry()?
            .values()
            .any(|system_hash| system_hash == contract_hash))
    }
/// Checks if we are calling a system contract.
Checks if we are calling a system contract.
Checks if we are calling a system contract .
pub(crate) fn is_system_contract(&self, contract_hash: &ContractHash) -> Result<bool, Error> {
        Ok(self
            .system_contract_registry()?
            .values()
            .any(|system_hash| system_hash == contract_hash))
    }
pub ( crate ) fn is_system_contract ( & self , contract_hash : & ContractHash ) -> Result < bool , Error > { Ok ( self . system_contract_registry ( ) ? . values ( ) . any ( | system_hash | system_hash == contract_hash ) ) }
Checks if we are calling a system contract.
Checks if we are calling a system contract .
&self
contract_hash
&ContractHash
&self
contract_hash
&ContractHash