No need to check for isset since they can´t leave out the argument. PHP will error out if that happens. Then the is_string will handle the rest.