def filter_or(pyobs, **kwargs):
    """Filters a series of PyObs based on a series of keyword arguments (OR)"""

    # Return filtered PyObs
    return [
        pyob
        for pyob in pyobs
        if any([getattr(pyob, key) == val for key, val in kwargs.items()])
    ]