public static function hasData($strName)
	{
		foreach ($GLOBALS['TL_CTP'] as $v)
		{
			foreach ($v as $kk=>$vv)
			{
				if ($kk == $strName)
				{
					return ($vv['data']) ?:false;
				}
			}
		}
		
		return null;
	}
public static function hasData($strName)
	{
		foreach ($GLOBALS['TL_CTP'] as $v)
		{
			foreach ($v as $kk=>$vv)
			{
				if ($kk == $strName)
				{
					return ($vv['data']) ?:false;
				}
			}
		}
		
		return null;
	}
public static function hasData ( $ strName ) { foreach ( $ GLOBALS [ 'TL_CTP' ] as $ v ) { foreach ( $ v as $ kk => $ vv ) { if ( $ kk == $ strName ) { return ( $ vv [ 'data' ] ) ? : false ; } } } return null ; }
Check if a pattern saves data to the database

@param string $strName The pattern name

@return boolean Returns true if the pattern saves data to the db
Check if a pattern saves data to the database