static boolean isUserDefinedTask(Task task) {
    return Constants.USER_DEFINED_TASKS.contains(task.getTaskType());
  }
@Test
  public void testIsUserDefinedTask() {
    when(task.getTaskType()).thenReturn(Constants.MAESTRO_TASK_NAME);
    Assert.assertTrue(TaskHelper.isUserDefinedTask(task));
    when(task.getTaskType()).thenReturn("TEST_TASK");
    Assert.assertFalse(TaskHelper.isUserDefinedTask(task));
  }