def datetime_is_naive(dateTime):
    return dateTime.tzinfo is None or dateTime.tzinfo.utcoffset(dateTime) is None


# Remove timezone information.
Search package name by import name.
dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/utils/dt.py/datetime_is_naive--crossover with--dataset/ETHPy150Open Damnever/pigar/pigar/__main__.py/Main.search_package_by_name