Implement clipboard_has_text