Ensures that the argument to 'defined' is a string