The test above is redundant with this one.  Just use this line and you save yourself one ugly indentation level.