(o, allow_none=False)
return True
Check if the object is a sequence of sequences. No check is done on
    the sizes of the sequences.

    Parameters
    ----------
    o : any object
      The object to check
    allow_none : bool, optional
      Treat ``None`` entries as sequence.

    Returns
    -------
    is_seq_of_seq : bool
      True if *o* is a sequence of sequences, False otherwise.
Check if the object is a sequence of sequences. No check is done on
    the sizes of the sequences.
Check if the object is a sequence of sequences . No check is done on the sizes of the sequences .
def is_seq_of_seq(o, allow_none=False):
    """Check if the object is a sequence of sequences. No check is done on
    the sizes of the sequences.

    Parameters
    ----------
    o : any object
      The object to check
    allow_none : bool, optional
      Treat ``None`` entries as sequence.

    Returns
    -------
    is_seq_of_seq : bool
      True if *o* is a sequence of sequences, False otherwise.
    """
    if not is_seq(o):
        return False
    for s in o:
        if not (allow_none and s is None) and not is_seq(s):
            return False
    return True
def is_seq_of_seq ( o , allow_none = False ) : if not is_seq ( o ) : return False for s in o : if not ( allow_none and s is None ) and not is_seq ( s ) : return False return True