You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: complex_test.go
    path of file: ./repos/werf/test/e2e/converge
    
    the code of the file until where you have to start completion: package e2e_converge_test

import (
	"context"

	. "github.com/
    
func deploymentAvailable(deployment *appsv1.Deployment) bool {
	for _, cond := range deployment.Status.Conditions {
		if cond.Type == "Available" {
			return cond.Status == "True"
		}
	}

	return false
}