def METHOD_NAME():
    # Check for pyserial module
    try:
        import serial
    except ImportError:
        print("pyserial module is not installed.")
        return False
    # Check for bossac command
    if shutil.which("bossac") is None:
        print("bossac command not found. Please make sure it is installed and in your PATH.")
        return False
    return True