def is_datetime(input):
    """
    Template tag to check if input is Datetime
    :param input: Input field
    :return: True if is datetime, False if not
    """
    return input.field.widget.__class__.__name__ == "DateTimeInput"