h2o-py/h2o/utils/shared_utils.py
def slice_is_normalized(s):
    """Return True if slice ``s`` in "normalized" form."""
    return (s.start is not None and s.stop is not None and s.step is not None and s.start <= s.stop)
def slice_is_normalized(s):
    return (s.start is not None and s.stop is not None and s.step is not None and s.start <= s.stop)
def slice_is_normalized ( s ) : return ( s . start is not None and s . stop is not None and s . step is not None and s . start <= s . stop )
Return True if slice ``s`` in "normalized" form.
Return True if slice s in normalized form .