def METHOD_NAME(arr):
    """Work out whether this `<Array>` element matches the request
    """
    parent = arr.parentNode
    if (
        (name is not None and not _match_name(arr, name))
        or (epoch is not None and not _match_time(parent, epoch))
    ):
        return False
    for key, value in params.items():
        try:
            if get_param(parent, key).pcdata != value:
                return False
        except ValueError:  # no Param with this Name
            return False
    return True