public Boolean isValid() {
        return this.valid;
    }
<p>
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon
Inspector to access your AWS account.
</p>

@return A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon
        Inspector to access your AWS account.
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/DescribeCrossAccountAccessRoleResult.java