is_contract

Function is_contract 

Source
pub fn is_contract<E>(account: &E::AccountId) -> bool
where E: Environment,
Expand description

Checks whether the specified account is a contract.

ยงErrors

If the returned value cannot be properly decoded.