ArtisanSmarty plugin
boolean smarty_core_is_trusted( mixed $params, mixed &$smarty, string $resource_type, string $resource_name )
determines if a resource is trusted or not