def METHOD_NAME(value, default="", omit_opts=False, omit_master=False, omit_pillar=False):
    """
    Pass in a generic option and receive the value that will be assigned
    CLI Example:
    .. code-block:: bash
        salt '*' config.option redis.host
    """
    if not omit_opts:
        if value in __opts__:
            return __opts__[value]
    if not omit_master:
        if value in __pillar__.get("master", {}):
            return __pillar__["master"][value]
    if not omit_pillar:
        if value in __pillar__:
            return __pillar__[value]
    if value in DEFAULTS:
        return DEFAULTS[value]
    return default