Checking if the given PrincipalClass is valid