public boolean canAccessSecret() {
    return canAccessSecret;
  }
Returns true if the {@code KeyAccess} instance grants access to a key's secret
java_src/src/main/java/com/google/crypto/tink/tinkkey/KeyAccess.java