Asserts that the given address is a valid lock address.

If the address has no payment part or if the payment credential is not a script hash.