MB-17
modify structure of is_valid_cloud api