def METHOD_NAME(args):
    """ Validating that the file at inPath exists and is a .md file.
    Args:
        args: the commandline args, which includes the inPath and outPath
    """
    if len(sys.argv) < 2:
        print("Not enough arguments supplied.")
        return False
    # Validate input path
    inPath = args.inpath
    if args.inpath is not None:
        isFile = os.path.isfile(inPath)         # Check existence of file
        if not isFile:
            print("Nice try! Directory or file '" + inPath + "' doesn't even exist.")
            return False
        else:
            isMarkdown = inPath.endswith('.md')
            if not isMarkdown:
                print("Input file is not a markdown file (with .md extension).")
                return False
    else:
        print("No input file specified.")
        return False
    # Validate output path
    outPath = args.outpath
    if outPath is not None:
        isHtml = outPath.endswith('.html')
        if not isHtml:
            print("Output file is not a markdown file (with .html extension).")
            return False
    else:
        print("No output file specified.")
        return False
    return True;