/** * Checks if an attribute value is set. * * @param string $name * * @return bool */ public function __isset($name) { // Is it a transform handle? $transform = craft()->assetTransforms->getTransformByHandle($name); if ($transform) { return true; } else { return parent::__isset($name); } }