Move isNil to utils.