public static boolean isNullOrEmpty()

in aws-synthetics-canary/src/main/java/com/amazon/synthetics/canary/CanaryHelper.java [22:31]


    public static boolean isNullOrEmpty(VpcConfigOutput vpcConfigOutput) {
        // Properties may be null during unit tests.
        if (vpcConfigOutput == null) {
            return true;
        }

        return !vpcConfigOutput.hasSubnetIds()
            && !vpcConfigOutput.hasSecurityGroupIds()
            && Strings.isNullOrEmpty(vpcConfigOutput.vpcId());
    }