pub fn exists(&self) -> bool {
        if self.deposited_amount == Uint128::zero()
            || self.end_lock_time == 0
            || self.start_lock_time == 0
        {
            if !(self.deposited_amount == Uint128::zero()
                && self.end_lock_time == 0
                && self.start_lock_time == 0)
            {
                panic!("All or nothing. This should never happen.");
            }
            false
        } else {
            true
        }
    }
/// Return whether or not a lock exists. If a lock exists, it is not void or undefined.
/// void locks are used to represent the lack of a lock rather than an option type.
/// This makes the math much easier than it would be when dealing with option types.
Return whether or not a lock exists. If a lock exists, it is not void or undefined.
void locks are used to represent the lack of a lock rather than an option type.
This makes the math much easier than it would be when dealing with option types.
Return whether or not a lock exists . If a lock exists it is not void or undefined . void locks are used to represent the lack of a lock rather than an option type . This makes the math much easier than it would be when dealing with option types .
pub fn exists(&self) -> bool {
        if self.deposited_amount == Uint128::zero()
            || self.end_lock_time == 0
            || self.start_lock_time == 0
        {
            if !(self.deposited_amount == Uint128::zero()
                && self.end_lock_time == 0
                && self.start_lock_time == 0)
            {
                panic!("All or nothing. This should never happen.");
            }
            false
        } else {
            true
        }
    }
pub fn exists ( & self ) -> bool { if self . deposited_amount == Uint128 :: zero ( ) || self . end_lock_time == 0 || self . start_lock_time == 0 { if ! ( self . deposited_amount == Uint128 :: zero ( ) && self . end_lock_time == 0 && self . start_lock_time == 0 ) { panic ! ( " " ) ; } false } else { true } }
Return whether or not a lock exists.
Return whether or not a lock exists .
&self