WordPress at a glance
function is not described

meta_is_product_attribute() WC 1.0

Returns true when the passed meta name is a product attribute.

No Hooks.

Return

true|false. Nothing.

Usage

meta_is_product_attribute( $name, $value, $product_id );
$name(string) (required)
of the attribute.
$value(string) (required)
of the attribute.
$product_id(int) (required)
to check for attribute.

Code of meta_is_product_attribute() WC 5.3.0

<?php
function meta_is_product_attribute( $name, $value, $product_id ) {
	$product = wc_get_product( $product_id );

	if ( $product && method_exists( $product, 'get_variation_attributes' ) ) {
		$variation_attributes = $product->get_variation_attributes();
		$attributes           = $product->get_attributes();
		return ( in_array( $name, array_keys( $attributes ), true ) && in_array( $value, $variation_attributes[ $attributes[ $name ]['name'] ], true ) );
	} else {
		return false;
	}
}