Helper method for checking special cases