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.