def METHOD_NAME(self):
    try:
        check_call(["npm", "--version"], stdout=open(os.devnull, "wb"))
        check_call(["yarn", "--version"], stdout=open(os.devnull, "wb"))
        return True
    except Exception:
        return False