def first_solid(*tristates, default=None):
    """Utility combining multiple tri-state booleans."""
    from boltons.iterutils import first
    return first(tristates, default=default, key=lambda i: i is not None)
