def all(f, iterable) -> bool:
  """ If all the conditions are True then return True, otherwise return False at the first failiure"""
  for e in iterable:
    if not f(e):
      return False
  return True