def is_pipeline(obj):
    """Test if something is a Pipeline object. This is put here
    with a deferred import statement to avoid circular imports
    so the I/O don't need to import pipeline.py.

    This probably does not need to be deferred but doing it
    for safety sake.

    Parameters
    ----------
    obj : object
        An object to test to see if it's a Pipeline.

    Returns
    -------
    bool
        True if Pipeline
    """
    from .pipeline import Pipeline
    return isinstance(obj, Pipeline)
