def METHOD_NAME(cls, args: List[str], source: Source) -> None:
    """
    This method checks the input args, should the config be migrated,
    transform if neccessary and emit the CONTROL message.
    """
    # get config path
    config_path = AirbyteEntrypoint(source).extract_config(args)
    # proceed only if `--config` arg is provided
    if config_path:
        # read the existing config
        config = source.read_config(config_path)
        # migration check
        if cls.should_migrate(config):
            cls.emit_control_message(
                cls.modify_and_save(config_path, source, config),
            )