def METHOD_NAME(target: str, files: Iterator[str]) -> bool:
    if target == 'ddev':
        source = 'src/ddev/'
    else:
        if target == 'datadog_checks_base':
            directory = 'base'
        elif target == 'datadog_checks_dev':
            directory = 'dev'
        elif target == 'datadog_checks_downloader':
            directory = 'downloader'
        else:
            directory = target.replace('-', '_')
        source = f'datadog_checks/{directory}/'
    return any(f.startswith(source) or f == 'pyproject.toml' for f in files)