def _numpy_eye(n):
    if not np:
        raise ImportError
    return np.matrix(np.eye(n, dtype='complex'))
Checks that the nonce only contains only safe characters
dataset/ETHPy150Open sympy/sympy/sympy/physics/quantum/matrixutils.py/_numpy_eye--crossover with--dataset/ETHPy150Open idan/oauthlib/oauthlib/oauth1/rfc5849/request_validator.py/RequestValidator.check_nonce