implement 'yarp wait /x /y' like 'yarp exists /x /y'