from typing import List


def worst_of_five(errors: List[float]) -> bool:
    """Returns true when the last error is the worst of five last ones."""
    if len(errors) > 3 and (errors[-1] > max(errors[-5:-1])):
        return True
    return False