question: public static boolean isAuthNAssertion ( Assertion assertion ) { if ( assertion == null ) { return false ; } if ( ( ! assertion . isTimeValid ( ) ) || ( ! assertion . isSignatureValid ( ) ) ) { return false ; } Set statements = assertion . getStatement ( ) ; Statement statement = null ; Iterator iterator = statements . iterator ( ) ; while ( iterator . hasNext ( ) ) { statement = ( Statement ) iterator . next ( ) ; if ( statement . getStatementType ( ) == Statement . AUTHENTICATION_STATEMENT ) { return true ; } } return false ; }
target:  Returns true if the assertion is valid both time wise and signature wise, and contains at least one AuthenticationStatement.