pub fn has_key(name: &str) -> bool {
    let (name_ptr, name_size, _bytes) = contract_api::to_ptr(name);
    let result = unsafe { ext_ffi::casper_has_key(name_ptr, name_size) };
    result == 0
}
/// Returns `true` if `name` exists in the current context's named keys.
///
/// The current context is either the caller's account or a stored contract depending on whether the
/// currently-executing module is a direct call or a sub-call respectively.
Returns `true` if `name` exists in the current context's named keys.
The current context is either the caller's account or a stored contract depending on whether the
currently-executing module is a direct call or a sub-call respectively.
Returns ` true ` if ` name ` exists in the current context ' s named keys . The current context is either the caller ' s account or a stored contract depending on whether the currently - executing module is a direct call or a sub - call respectively .
pub fn has_key(name: &str) -> bool {
    let (name_ptr, name_size, _bytes) = contract_api::to_ptr(name);
    let result = unsafe { ext_ffi::casper_has_key(name_ptr, name_size) };
    result == 0
}
pub fn has_key ( name : & str ) -> bool { let ( name_ptr , name_size , _bytes ) = contract_api :: to_ptr ( name ) ; let result = unsafe { ext_ffi :: casper_has_key ( name_ptr , name_size ) } ; result == 0 }
Returns `true` if `name` exists in the current context's named keys.
Returns ` true ` if ` name ` exists in the current context ' s named keys .
name
&str
name
&str