question: private boolean isSameCircleOfTrust ( BaseConfigType config , String realm , String entityID ) { boolean isTrusted = false ; if ( config != null ) { Map attr = IDFFMetaUtils . getAttributes ( config ) ; List cotList = ( List ) attr . get ( IDFFCOTUtils . COT_LIST ) ; if ( ( cotList != null ) && ! cotList . isEmpty ( ) ) { for ( Iterator iter = cotList . iterator ( ) ; iter . hasNext ( ) ; ) { String cotName = ( String ) iter . next ( ) ; if ( cotManager . isInCircleOfTrust ( realm , cotName , COTConstants . IDFF , entityID ) ) { isTrusted = true ; } } } } return isTrusted ; }
target:  Checks if the remote entity identifier is in the Entity Config's  circle of trust.