def has_instance(name, provider=None):
 data = get_instance(name, provider)
 if (data is None):
  return False
 return True

def has_instance ( name , provider = None ) : data = get_instance ( name , provider ) if ( data is None ) : return False return True
return true if the instance is found on a provider cli example: .