def METHOD_NAME(host):
    first_instance = host.instances.first()
    if not first_instance:
        return False
    return (first_instance
            and first_instance.databaseinfra.databases.exists())