Checking whether XForm/BPM task is submitted