def check_libcloud_or_fail():
 if (not HAS_LIBCLOUD):
  raise LibcloudNotFound('apache-libcloud is required.')

def check_libcloud_or_fail ( ) : if ( not HAS_LIBCLOUD ) : raise LibcloudNotFound ( 'apache-libcloud is required.' )
checks if libcloud is installed and fails if not .