empty?: check to ensure correct number of arguments

This fixes the test case for isEmpty