@staticmethod
def is_seq(o):
    """Check if the object is a sequence

        Parameters
        ----------
        o : any object
           The object to check
    
        Returns
        -------
        is_seq : bool, scalar
           True if *o* is a sequence, False otherwise
        """
    return hasattr(o, '__len__')
