Checking the control of an entity I have a method which checks if a control of an entity's attribute is 'multiControl' or not:

private boolean entityHasMultiControl(IEntityMetadata entityMetadata) {

    for(IAttributeMetadata attr : entityMetadata.getAttributes()){
        for(IControl control : attr.getAttributeType().getControls()){
            if(control.getIsMultiControl() == true)
                return true;
        }

    }
    return false;
}


Can this be simplified further in Java 8?
Assuming that entityMetadata.getAttributes() and attr.getAttributeType().getControls() returns some kind of Collection, the answer is an absolute YES.

entityMetadata.getAttributes().stream()
    .flatMap(attr -&gt; attr.getAttributeType().getControls().stream())
    .anyMatch(control -&gt; control.getIsMultiControl());


Other notes:


Comparing with == true is not necessary, that part could be removed entirely.
Prefixing interfaces with I is not something commonly done in Java, it is not recommended in any naming conventions. It is, however, done in C#. C# is not Java.
getIsMultiControl is a very weird name. Should preferably be named isMultiControl.