public bool Exists()

in src/AWS.Deploy.Orchestration/LocalUserSettings/LastDeployedStack.cs [26:44]


        public bool Exists(string? awsAccountId, string? awsRegion, string? projectName)
        {
            if (string.IsNullOrEmpty(AWSAccountId) ||
                string.IsNullOrEmpty(AWSRegion) ||
                string.IsNullOrEmpty(ProjectName))
                return false;

            if (string.IsNullOrEmpty(awsAccountId) ||
                string.IsNullOrEmpty(awsRegion) ||
                string.IsNullOrEmpty(projectName))
                return false;

            if (AWSAccountId.Equals(awsAccountId) &&
                AWSRegion.Equals(awsRegion) &&
                ProjectName.Equals(projectName))
                return true;

            return false;
        }