Function ink_env::test::is_contract

source ยท
pub fn is_contract<T>(contract: T::AccountId) -> bool
where T: Environment, <T as Environment>::AccountId: From<[u8; 32]>,
Expand description

Returns a boolean to indicate whether an account is a contract