Utility functions - isString, first, not