question: private boolean isDualRole ( EntityDescriptorElement entityDescriptor ) { boolean dual = false ; if ( entityDescriptor != null ) { if ( ( SAML2MetaUtils . getSPSSODescriptor ( entityDescriptor ) != null ) && ( SAML2MetaUtils . getIDPSSODescriptor ( entityDescriptor ) != null ) ) { dual = true ; } } return dual ; }
target:  Retrieves information whether entity has dual role or not.