/**
* Check whether the asset are enabled
*
* @param string $type The asset type, script or style
* @param string $name The asset name
*
* @return boolean
*
* @throws UnknownAssetException When Asset cannot be found
*
* @since 4.0.0
*/
public function isAssetActive(string $type, string $name) : bool
{
return $this->getAssetState($type, $name) !== static::ASSET_STATE_INACTIVE;
}