from shutil import which


def is_tool(name):
    """
    Check if name `name` is on PATH
    and marked as executable.

    Parameters:
    -----------
    name : str
        file/app/execution file

    Returns:
        -------
    rue/False

    """

    return which(name) is not None