"""Retrieve a list of the operators Edge Cloud Zones and their status
List of the operators Edge Cloud Zones and their status, ordering the results by location and filtering by status (active/inactive/unknown) # noqa: E501
if ((query_params.regionisNone)or(zone["edgeCloudRegion"]==query_params.region))and((query_params.statusisNone)or(zone["edgeCloudZoneStatus"]==query_params.status))
]
defquery_region_matches(zone:str)->bool:
"""If region is None, return True (don't apply region filtering), otherwise check if the zone region matches the query region"""