def METHOD_NAME(api: "CobblerAPI") -> _DnsmasqManager:
    """
    Creates a manager object to manage a dnsmasq server.
    :param api: The API to resolve all information with.
    :return: The object generated from the class.
    """
    # Singleton used, therefore ignoring 'global'
    global MANAGER  # pylint: disable=global-statement
    if not MANAGER:
        MANAGER = _DnsmasqManager(api)  # type: ignore
    return MANAGER