def METHOD_NAME(func):
    """Decorator to disable exposing functions or methods as keywords.
    Examples::
        @not_keyword
        def not_exposed_as_keyword():
            # ...
        def exposed_as_keyword():
            # ...
    Alternatively the automatic keyword discovery can be disabled with
    the :func:`library` decorator or by setting the ``ROBOT_AUTO_KEYWORDS``
    attribute to a false value.
    New in Robot Framework 3.2.
    """
    func.robot_not_keyword = True
    return func