`!_.isEmpty(illegalPrincipalIds);` is a bit more concise