def _is_incorrect_type(e):
    """Check if error was for an incorrect attribute data type.

    Args:
        e (cerberus.errors.ValidationError): Error object.

    Returns:
        bool: True/False
    """
    return e.schema_path[-1] == 'type'