def has_duplicated_points(stencil) -> bool:
    """
    Returns True if there is at least one duplicated points in the stencil.

    Args:
        stencil (list of int or float): stencil on regular or
            staggered grid.

    Returns:
        bool: True if there is at least one duplicated points in the stencil.
    """
    return len(stencil) != len(set(stencil))