static boolean isUserDefinedRealTask(Task task) {
    return isUserDefinedTask(task) && isRealTask(task);
  }
@Test
  public void testIsUserDefinedRealTask() {
    when(task.getTaskType()).thenReturn(Constants.MAESTRO_TASK_NAME);
    when(task.getSeq()).thenReturn(1);
    Assert.assertTrue(TaskHelper.isUserDefinedRealTask(task));
    when(task.getTaskType()).thenReturn("TEST_TASK");
    Assert.assertFalse(TaskHelper.isUserDefinedRealTask(task));
    when(task.getTaskType()).thenReturn(Constants.MAESTRO_TASK_NAME);
    when(task.getSeq()).thenReturn(-1);
    Assert.assertFalse(TaskHelper.isUserDefinedRealTask(task));
  }