See if pattern is empty for stay command