upadted method isPubMedStringValid