def METHOD_NAME(obj):
    """Attempt to convert pandas.NaT"""
    pandas = get_module("pandas")
    if not pandas:
        raise NotEncodable
    if obj is pandas.NaT:
        return None
    else:
        raise NotEncodable