def override(func):
    """
    Decorator that indicates that the method is overriding an abstract or extension
    method defined in a base class. Note that this decorator has no impact on
    the method's functionality.
    """
    if isinstance(func, (staticmethod, classmethod)):
        actual_func = func.__func__
    elif callable(func):
        actual_func = func
    else:
        raise Exception("This type cannot be decorated with 'override'")
    setattr(actual_func, '__override_method', True)
    return func
