def is_available():
 try:
  NVVM()
 except NvvmSupportError:
  return False
 else:
  return True

def is_available ( ) : try : NVVM ( ) except NvvmSupportError : return False else : return True
return true if we can successfully connect to solr .