I don't see why you need this check as it's part of the same source code?