@Override
  default boolean test(final @NotNull String permission) {
    return this.value(permission) == TriState.TRUE;
  }
Checks if something has a permission.

@param permission the permission
@return a tri-state result
@since 4.8.0
api/src/main/java/net/kyori/adventure/permission/PermissionChecker.java