def METHOD_NAME(self, config_item, config=None, ordoprec=None, default=None):
    """Order of precedence helper for configs"""
    # cli > envvars > config > defaults
    if config is None:
        config = self.config
    if ordoprec is None:
        ordoprec = ["config", "env", "cli"]
    ordoprec_dict = dict()
    # cli
    ordoprec_dict["cli"] = self.args.get(config_item, None)
    # config
    log.debug("Configs.get_config_item()...from config: %s", config)
    ordoprec_dict["config"] = config.get(config_item, None)
    # env
    if config_item == "auto-dashboard":
        env_name = "RP_AUTO_DASHBOARD"
    else:
        env_name = "RP_{}".format(config_item.upper())
    ordoprec_dict["env"] = os.getenv(env_name, None)
    config_value = default
    for source in ordoprec:
        log.debug(
            "Configs.get_config_item()... " "Config item (%s): %s = %s",
            config_item,
            source,
            ordoprec_dict[source],
        )
        if ordoprec_dict[source] is not None:
            config_value = ordoprec_dict[source]
    log.debug("Configs.get_config_item()... config_value: %s", config_value)
    return config_value