def is_full_slice(obj, l):
 return (isinstance(obj, slice) and (obj.start == 0) and (obj.stop == l) and (obj.step is None))

def is_full_slice ( obj , l ) : return ( isinstance ( obj , slice ) and ( obj . start == 0 ) and ( obj . stop == l ) and ( obj . step is None ) )
we have a full length slice .