def find_namespace_vars_usages(analysis, namespace_usage):
    """
    Returns usages of Vars from namespace_usage.

    It's useful when you want to see Vars (from namespace_usage) being used in your namespace.
    """

    usages = []

    for var_qualified_name, var_usages in analysis.get("vindex_usages", {}).items():
        namespace, _ = var_qualified_name

        if namespace == namespace_usage.get("to"):
            usages.extend(var_usages)

    return usages