def get_eta_days(trip):
    """
    Returns the Eta Days of the trip
    :param trip: Object
    :return: eta_days of the trip
    """
    if 'eta_days' in trip.keys():
        eta_days = trip['eta_days']
        eta_days = str(eta_days) or eta_days
        try:
            return float(eta_days)
        except ValueError as e:
            return None
    else:
        return None
