def METHOD_NAME(
    name: str
) -> str:
    """
    Check if the configuration file is one of sample configs or
    if it is a file supplied by the user.
    :param name: file name
    :return: Full path of configuration file
    """
    # Is it a standard conf shipped with yamllint...
    if "/" not in name:
        std_conf = os.path.join(
            os.path.dirname(os.path.realpath(__file__)), "conf", name + ".yaml"
        )
        if os.path.isfile(std_conf):
            return std_conf
    # or a custom conf on filesystem?
    return name