def define_localfootnotes(environment, definition, key_localfootnotes):
    """
    Get the local footnotes

    Arguments
    ---------
        environment:
            The environment

        definition:
            The definition

        key_localfootnotes:
            The localfootnotes key
    """
    if key_localfootnotes in definition:
        environment['localfootnotes'] = str(definition[key_localfootnotes]
            ).lower() == 'true'
