Clean up: using correct is_text_present() method, removing prints