def METHOD_NAME(custom_detectors: List[Dict[str, Any]], name: str, check_id: str, regex: str,
                            is_custom: str, is_multiline: bool = False, supported_files: Optional[List[str]] = None) -> None:
    custom_detectors.append({
        'Name': name,
        'Check_ID': check_id,
        'Regex': regex,
        'isCustom': is_custom,
        'isMultiline': is_multiline,
        'supportedFiles': supported_files if supported_files else []
    })