Added "hasEncryptedAttributes"

Added "hasEncryptedAttributes" to check whether an assertion contains encrypted attributes.

Refactor private 'encryptedAttribute' to plural and simplify isNameIdEncrypted check.