def is_jail(name):
 jails = list_jails()
 for jail in jails:
  if (jail.split()[0] == name):
   return True
 return False

def is_jail ( name ) : jails = list_jails ( ) for jail in jails : if ( jail . split ( ) [ 0 ] == name ) : return True return False
return true if jail exists false if not cli example: .