WW-4429 Simplifies isClassExcluded interface
WW-4429 Adds additional tests to cover unsecure access