Inline check for empty word