human
Complete this python program:
def assert_crypto_availability(f):
assistant
#Here is the Python program you requested.

    """Ensure Crypto module is available.
    """
    @functools.wraps(f)
    def wrapper(*args, **kwds):
        if (AES is None):
            raise CryptoUnavailableError()
        return f(*args, **kwds)
    return wrapper