almost identical to isRunning(), maybe you can add variable if it is submitting or running (for example:
isSubmitting(String runName, String runOrSubmit)