def all_not_none(iterable):
 for element in iterable:
  if (element is None):
   return False
 return True

def all_not_none ( iterable ) : for element in iterable : if ( element is None ) : return False return True
return true if all elements of the iterable are not none .