def _unpersist_broadcasted_np_array(broadcast):
    """
    Unpersist a single pyspark.Broadcast variable or a list of them.

    :param broadcast: A single pyspark.Broadcast or list of them.
    """
    if isinstance(broadcast, list):
        [b.unpersist() for b in broadcast]
    else:
        broadcast.unpersist()
    return None