from typing import Any


def ends_method(term: str, key: str, value: Any) -> str:
    """ Map file search method 'ends' will return value if key ends with the search term

    >>> ends_method("World", "Hello World", "squaids")
    'squaids'
    >>> ends_method("Werld", "Hello World", "squaids")
    ''
    """
    return value if key.endswith(term) else ""