This check described in english is "if both arg lengths are zero". so It would read better to compare with 0 twice also.