def is_import_str(text):
    text = str_(text)
    return re.match(r'^[\w\.]+$', text) or re.match(r'\w+\.\w+', text)
dataset/ETHPy150Open tweekmonster/moult/moult/utils.py/is_import_str/operator `and` -> `or`