human
Complete the below
def _requires_alpn(func):

    ''''Wraps any function that requires ALPN support in OpenSSL, ensuring that
    NotImplementedError is raised if ALPN support is not present.'
    '''
assistant
#Here is the Python code you requested.
    @wraps(func)
    def wrapper(*args, **kwargs):
        if (not _lib.Cryptography_HAS_ALPN):
            raise NotImplementedError('ALPN    not    available.')
        return func(*args, **kwargs)
    return wrapper