def METHOD_NAME(cls, value, python_type):
    """Check whether the default value is compatible with the parameter type.
    Args:
        value: The value to check the type for.
        python_type: The type to check the value against.
    Raises:
        `TypeError` if the value is not compatible with the instance's Python type.
    """
    if value and not isinstance(value, python_type):
        raise TypeError("The default value specified does not match the Parameter Python type.")