def check_for_external_modification(fileName, old_mtime):
 new_modification_time = get_last_modification(fileName)
 if (new_modification_time > old_mtime):
  return True
 return False

def check_for_external_modification ( fileName , old_mtime ) : new_modification_time = get_last_modification ( fileName ) if ( new_modification_time > old_mtime ) : return True return False
check if the file was modified outside ninja .