pub fn is_hash(hash: &str) -> bool {
    if hash.len() == 81 {
        return is_trytes(&hash[0..81]);
    }
    false
}
/// Validates that a string is a hash
Validates that a string is a hash
Validates that a string is a hash
pub fn is_hash(hash: &str) -> bool {
    if hash.len() == 81 {
        return is_trytes(&hash[0..81]);
    }
    false
}
pub fn is_hash ( hash : & str ) -> bool { if hash . len ( ) == 81 { return is_trytes ( & hash [ 0 .. 81 ] ) ; } false }
Validates that a string is a hash
Validates that a string is a hash
hash
&str