protected function validateUrl($field, $value)
    {
        foreach (static::$validUrlPrefixes as $prefix) {
            if (\strpos($value, $prefix) !== false) {
                return \filter_var($value, \FILTER_VALIDATE_URL) !== false;
            }
        }

        return false;
    }