def parse_value(value):
    if not value:
        return None
    elif isinstance(value, datetime.datetime):
        return value
    return dateutil.parser.parse(value)
Attempts to parse `value` into an instance of ``datetime.datetime``. If
dataset/ETHPy150Open STIXProject/python-stix/stix/utils/dates.py/parse_value