public static function filterByPrefixes(array $arrData = [], $arrPrefixes = [])
    {
        $arrExtract = [];

        if (!is_array($arrPrefixes) || empty($arrPrefixes))
        {
            return $arrData;
        }

        foreach ($arrData as $key => $value)
        {
            foreach ($arrPrefixes as $strPrefix)
            {
                if (\HeimrichHannot\Haste\Util\StringUtil::startsWith($key, $strPrefix))
                {
                    $arrExtract[$key] = $value;
                }
            }
        }

        return $arrExtract;
    }