human
Complete the below
def assert_crypto_availability(f):

    ''''Ensure Crypto module is available.'
    '''

=====
Can you provide a the Python program you requested?
assistant
#Here is the Python program you requested.
    @functools.wraps(f)
    def wrapper(*args, **kwds):
        if (AES is None):
            raise CryptoUnavailableError()
        return f(*args, **kwds)
    return wrapper