exist file "com.apple.sharing.firewall.plist" whose
(
exists dictionary whose
(
boolean "state" of it
)
of it AND exist dictionary "firewall" of dictionary of it
)
of folder "/Library/Preferences/" AND not exists dictionaries
(
keys of it
)
whose
(
exists integer "enable" whose
(
it = 1
)
of it AND exists array "udpport" whose
(
exists string 0 whose
(
it = "52311"
)
of it
)
of it
)
of dictionary "firewall" of dictionary of file "com.apple.sharing.firewall.plist" of folder "/Library/Preferences/"
exist file "com.apple.sharing.firewall.plist" whose (exists dictionary whose (boolean "state" of it) of it AND exist dictionary "firewall" of dictionary of it) of folder "/Library/Preferences/" AND not exists dictionaries (keys of it) whose (exists integer "enable" whose (it = 1) of it AND exists array "udpport" whose (exists string 0 whose (it = "52311") of it) of it) of dictionary "firewall" of dictionary of file "com.apple.sharing.firewall.plist" of folder "/Library/Preferences/"