This is a matter of style, but if this is false, you have already returned from the function earlier.  It shouldn't cost anything at run time because the condition will evaluate statically.