src/Variable.php
public function isEmbedded(Asset $asset): bool
	{
		Craft::$app->getDeprecator()->log('craft.embeddedAssets.isEmbedded', "The template method `craft.embeddedAssets.isEmbedded` is now deprecated. Use `craft.embeddedAssets.get` instead.");

		return (bool)EmbeddedAssets::$plugin->methods->getEmbeddedAsset($asset);
	}
public function isEmbedded(Asset $asset): bool
	{
		Craft::$app->getDeprecator()->log('craft.embeddedAssets.isEmbedded', "The template method `craft.embeddedAssets.isEmbedded` is now deprecated. Use `craft.embeddedAssets.get` instead.");

		return (bool)EmbeddedAssets::$plugin->methods->getEmbeddedAsset($asset);
	}
public function isEmbedded ( Asset $ asset ) : bool { Craft :: $ app -> getDeprecator ( ) -> log ( 'craft.embeddedAssets.isEmbedded' , "The template method `craft.embeddedAssets.isEmbedded` is now deprecated. Use `craft.embeddedAssets.get` instead." ) ; return ( bool ) EmbeddedAssets :: $ plugin -> methods -> getEmbeddedAsset ( $ asset ) ; }
Determines if an asset is an embedded asset or not.

@deprecated Will be removed in next major version. Use the `get` method instead.

@param Asset $asset
@return bool
Determines if an asset is an embedded asset or not .