func getCondition(vs *appmesh.VirtualService, conditionType appmesh.VirtualServiceConditionType) *appmesh.VirtualServiceCondition {
	for i := range vs.Status.Conditions {
		if vs.Status.Conditions[i].Type == conditionType {
			return &vs.Status.Conditions[i]
		}
	}
	return nil
}
getCondition will get pointer to virtualService's existing condition.
package virtualservice
import (
	appmesh "github.com/aws/aws-app-mesh-controller-for-k8s/apis/appmesh/v1beta2"
	"github.com/aws/aws-sdk-go/aws"
	corev1 "k8s.io/api/core/v1"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)