MCPcopy Create free account
hub / github.com/apache/cloudstack / any

Function any

python/lib/cloud_utils.py:140–143  ·  view source on GitHub ↗
(sequence)

Source from the content-addressed store, hash-verified

138 all = all
139except NameError:
140 def any(sequence):
141 for i in sequence:
142 if i: return True
143 return False
144 def all(sequence):
145 for i in sequence:
146 if not i: return False

Callers 14

check_selinuxFunction · 0.85
process_ipaliasesMethod · 0.85
flushAllIpv6RulesMethod · 0.85
flushAllRulesMethod · 0.85
has_metadataMethod · 0.85
apply_nft_ipv4_rulesMethod · 0.85
setUpClassMethod · 0.85

Calls

no outgoing calls

Tested by 6

setUpClassMethod · 0.68
verify_lb_statsMethod · 0.68