def METHOD_NAME(repo):
    """Returns the value stored at remote.(promisor-remote).partialclonefilter, if any."""
    config = repo.config
    try:
        name = get_promisor_remote(repo)
    except NotFound:
        return None
    key = f"remote.{name}.partialclonefilter"
    if key not in config:
        return None
    return config[key]