def METHOD_NAME(self):
    subcommands = {cmd[0] for cmd in _build.sub_commands}
    if subcommands - _ORIGINAL_SUBCOMMANDS:
        SetuptoolsDeprecationWarning.emit(
            "Direct usage of `distutils` commands",
            """
            It seems that you are using `distutils.command.build` to add
            new subcommands. Using `distutils` directly is considered deprecated,
            please use `setuptools.command.build`.
            """,
            due_date=(2023, 12, 13),  # Warning introduced in 13 Jun 2022.
            see_url="https://peps.python.org/pep-0632/",
        )
        self.sub_commands = _build.sub_commands
    return super().METHOD_NAME()