def check_storage_account_name_availability()

in src/SentinelUtilities/SentinelWidgets/widget_view_helper.py [0:0]


    def check_storage_account_name_availability(storage):
        """ Check if a storage account name is available to use """
        # usert input storage account name
        storage_account_name = input('Storage Account Name:')
        name_availability = storage.is_storage_account_name_available(storage_account_name)
        return storage_account_name if name_availability.name_available else None